diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2020-11-05 10:20:32 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2020-11-05 15:11:42 +0530 |
commit | 34aec973e15a81926198f4b71ff99081dff87a92 (patch) | |
tree | f324e5a8fcd956d4f74e923952ba861cebf7b68f /misc | |
parent | dc274b141666766b8ef70992d887e3c0c5e41bed (diff) | |
download | glibc-34aec973e15a81926198f4b71ff99081dff87a92.zip glibc-34aec973e15a81926198f4b71ff99081dff87a92.tar.gz glibc-34aec973e15a81926198f4b71ff99081dff87a92.tar.bz2 |
Remove __warndecl
The macro is not used anymore, so remove it and warning-nop.c.
Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'misc')
-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 86906c2..e94d09d 100644 --- a/misc/sys/cdefs.h +++ b/misc/sys/cdefs.h @@ -128,13 +128,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 |