From 8b63b48627961c0bf880eb4d57cf24d6a828dcd2 Mon Sep 17 00:00:00 2001 From: Jonathan Nieder Date: Sat, 14 Apr 2012 15:06:57 +0200 Subject: headers: surround GCC attribute names with double underscores This protects from attribute names being defined by third party's code. Improvement: http://curl.haxx.se/mail/lib-2012-04/0127.html --- lib/setup.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/setup.h') diff --git a/lib/setup.h b/lib/setup.h index 6ce93db4d..4bce5a93f 100644 --- a/lib/setup.h +++ b/lib/setup.h @@ -611,7 +611,7 @@ int netware_init(void); #ifndef __GNUC__ #define UNUSED_PARAM /*NOTHING*/ #else -#define UNUSED_PARAM __attribute__((unused)) +#define UNUSED_PARAM __attribute__((__unused__)) #endif /* -- cgit v1.2.3