mirror of
https://github.com/curl/curl.git
synced 2026-08-25 01:33:31 +03:00
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:
parent
b9ac64c2cb
commit
8b63b48627
3 changed files with 9 additions and 8 deletions
|
|
@ -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
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue