diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2020-11-05 10:20:32 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2020-11-10 20:01:01 +0530 |
commit | eba0ce6058828afd84b27a42b7bca5218f94aa10 (patch) | |
tree | 58cd94ba0dcbc83882424377f224b819bc4ec880 /misc/sys | |
parent | 5337b2af4b863fc9a1b92134bbe09758f1eff39d (diff) | |
download | glibc-eba0ce6058828afd84b27a42b7bca5218f94aa10.tar.gz glibc-eba0ce6058828afd84b27a42b7bca5218f94aa10.tar.xz glibc-eba0ce6058828afd84b27a42b7bca5218f94aa10.zip |
Remove __warndecl
The macro is not used anymore, so remove it and warning-nop.c. Reviewed-by: Florian Weimer <fweimer@redhat.com> (cherry-picked from 34aec973e15a81926198f4b71ff99081dff87a92)
Diffstat (limited to 'misc/sys')
-rw-r--r-- | misc/sys/cdefs.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/misc/sys/cdefs.h b/misc/sys/cdefs.h index 19d9cc5cfe..38221d0b2a 100644 --- a/misc/sys/cdefs.h +++ b/misc/sys/cdefs.h @@ -124,13 +124,10 @@ #define __bos0(ptr) __builtin_object_size (ptr, 0) #if __GNUC_PREREQ (4,3) -# define __warndecl(name, msg) \ - extern void name (void) __attribute__((__warning__ (msg))) # define __warnattr(msg) __attribute__((__warning__ (msg))) # define __errordecl(name, msg) \ extern void name (void) __attribute__((__error__ (msg))) #else -# define __warndecl(name, msg) extern void name (void) # define __warnattr(msg) # define __errordecl(name, msg) extern void name (void) #endif |