1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

__fortify_fail: Remove internal_function attribute

__fortify_fail is called across DSO boundaries, so it should not
use a non-standard calling convention.
This commit is contained in:
Florian Weimer
2017-08-13 21:10:44 +02:00
parent a6bd872286
commit 1b0bfc6946
5 changed files with 18 additions and 5 deletions

View File

@ -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)