diff options
author | Adrian Bunk <bunk@debian.org> | 2018-02-13 06:22:21 +0300 |
---|---|---|
committer | Dmitry Bogatov <KAction@gnu.org> | 2018-02-14 18:46:27 +0000 |
commit | af33c978bdd59b4559fcd1318e54e61ab2208ff7 (patch) | |
tree | 87b16b188939898bf586fa6a23f4ef8eead48ed9 | |
parent | 583b4d4ab0208dbcf29640c339b1cc38eb8dddbd (diff) |
[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
-rw-r--r-- | checkpassword.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 <write12.h> #else -inline void __write2(const char* message) { +extern inline void __write2(const char* message) { write(2,message,strlen(message)); } #endif |