Hide the __attribute__() definition from splint so it doesn't generate spurious warnings.

This commit is contained in:
Andrew Wood
2026-03-21 15:48:35 +00:00
parent c8e13d226b
commit 5c84305817
+2
View File
@@ -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