From 34aec973e15a81926198f4b71ff99081dff87a92 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Thu, 5 Nov 2020 10:20:32 +0530 Subject: Remove __warndecl The macro is not used anymore, so remove it and warning-nop.c. Reviewed-by: Florian Weimer --- misc/sys/cdefs.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'misc/sys') diff --git a/misc/sys/cdefs.h b/misc/sys/cdefs.h index 86906c2478..e94d09d7dd 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 -- cgit 1.4.1