diff options
| author | Florian Weimer <fweimer@redhat.com> | 2017-08-13 21:10:44 +0200 |
|---|---|---|
| committer | Florian Weimer <fweimer@redhat.com> | 2017-08-13 21:10:44 +0200 |
| commit | 1b0bfc6946b460bcebe9db19a015f2cac711f7f5 (patch) | |
| tree | d762ca42d4287dcd595e69bbad767b15677edcee /include | |
| parent | a6bd872286b981b08577218c00e1ea693bad6095 (diff) | |
| download | glibc-1b0bfc6946b460bcebe9db19a015f2cac711f7f5.tar.xz glibc-1b0bfc6946b460bcebe9db19a015f2cac711f7f5.zip | |
__fortify_fail: Remove internal_function attribute
__fortify_fail is called across DSO boundaries, so it should not
use a non-standard calling convention.
Diffstat (limited to 'include')
| -rw-r--r-- | include/stdio.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/stdio.h b/include/stdio.h index 215f919990..509447c528 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -98,10 +98,9 @@ extern void __libc_fatal (const char *__message) __attribute__ ((__noreturn__)); extern void __libc_message (enum __libc_message_action action, const char *__fnt, ...); -extern void __fortify_fail (const char *msg) - __attribute__ ((__noreturn__)) internal_function; +extern void __fortify_fail (const char *msg) __attribute__ ((__noreturn__)); extern void __fortify_fail_abort (_Bool, const char *msg) - __attribute__ ((__noreturn__)) internal_function; + __attribute__ ((__noreturn__)); libc_hidden_proto (__fortify_fail) libc_hidden_proto (__fortify_fail_abort) |
