Hide the __attribute__() definition from splint so it doesn't generate spurious warnings.
This commit is contained in:
@@ -52,7 +52,9 @@ typedef bool _Bool;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef SPLINT
|
||||
/* Remove __attribute__(()) if not using GCC. */
|
||||
#ifndef __GNUC__
|
||||
#define __attribute__(x) /* GCC-only feature */
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user