about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-08-13 21:10:44 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-08-13 21:10:44 +0200
commit1b0bfc6946b460bcebe9db19a015f2cac711f7f5 (patch)
treed762ca42d4287dcd595e69bbad767b15677edcee /include
parenta6bd872286b981b08577218c00e1ea693bad6095 (diff)
downloadglibc-1b0bfc6946b460bcebe9db19a015f2cac711f7f5.tar.gz
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.h5
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)