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
This commit is contained in:
Jonathan Nieder 2012-04-14 15:06:57 +02:00 committed by Yang Tse
parent b9ac64c2cb
commit 8b63b48627
3 changed files with 9 additions and 8 deletions

View file

@ -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
/*