diff utils.h @ 107:33954a07d013

__unused -> UNUSED
author David A. Holland
date Tue, 11 Jun 2013 12:15:47 -0400
parents 83ad94eec98f
children 26ee741196d1
line wrap: on
line diff
--- a/utils.h	Tue Jun 11 11:35:27 2013 -0400
+++ b/utils.h	Tue Jun 11 12:15:47 2013 -0400
@@ -35,9 +35,11 @@
 #if defined(__CLANG__) || defined(__GNUC__)
 #define PF(a, b) __attribute__((__format__(__printf__, a, b)))
 #define DEAD __attribute__((__noreturn__))
+#define UNUSED __attribute__((__unused__))
 #else
 #define PF(a, b)
 #define DEAD
+#define UNUSED
 #endif
 
 #define HOWMANY(arr) (sizeof(arr)/sizeof((arr)[0]))