From af33c978bdd59b4559fcd1318e54e61ab2208ff7 Mon Sep 17 00:00:00 2001 From: Adrian Bunk Date: Tue, 13 Feb 2018 06:22:21 +0300 Subject: [PATCH] Use "extern inline" for __write2 This is required to ensure that an out-of-line version of the function will be generated. Gbp-Pq: Name patch-use-extern-inline-for-__write2.patch --- checkpassword.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checkpassword.c b/checkpassword.c index 655668a..edb7ce0 100644 --- a/checkpassword.c +++ b/checkpassword.c @@ -8,7 +8,7 @@ #ifdef __dietlibc__ #include #else -inline void __write2(const char* message) { +extern inline void __write2(const char* message) { write(2,message,strlen(message)); } #endif -- cgit v1.2.3