aboutsummaryrefslogtreecommitdiff
path: root/lib/setup.h
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2012-04-14 15:06:57 +0200
committerYang Tse <yangsita@gmail.com>2012-04-14 15:06:57 +0200
commit8b63b48627961c0bf880eb4d57cf24d6a828dcd2 (patch)
treeddc6989b9d2a6081bc115c2095bd3c2aba729e16 /lib/setup.h
parentb9ac64c2cb7965eae3dfa9fd1bf9a2bf04b1e2a5 (diff)
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
Diffstat (limited to 'lib/setup.h')
-rw-r--r--lib/setup.h2
1 files changed, 1 insertions, 1 deletions
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
/*