mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 22:10:13 +00:00
2005-02-28 Roland McGrath <roland@redhat.com>
* debug/warning-nop.c (__nop): Rename to nop, make it static. (__warndecl): Use alias attribute directly, instead of strong_alias macro. Add attribute_hidden.
This commit is contained in:
parent
8b8b797292
commit
1104e1f381
@ -19,7 +19,8 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
void __nop (void)
|
||||
static void
|
||||
nop (void)
|
||||
{
|
||||
}
|
||||
|
||||
@ -27,7 +28,8 @@ void __nop (void)
|
||||
|
||||
#undef __warndecl
|
||||
#define __warndecl(name, msg) \
|
||||
strong_alias (__nop, name) link_warning (name, msg)
|
||||
extern void name (void) __attribute__ ((alias ("nop"))) attribute_hidden; \
|
||||
link_warning (name, msg)
|
||||
|
||||
#undef __USE_FORTIFY_LEVEL
|
||||
#define __USE_FORTIFY_LEVEL 99
|
||||
|
Loading…
Reference in New Issue
Block a user