contrib/chg/util.h
changeset 29440 009cc6c89d0f
parent 28855 f5764e177bbe
child 35959 9724f54923ec
--- a/contrib/chg/util.h	Wed Jun 29 22:48:32 2016 +0800
+++ b/contrib/chg/util.h	Tue Jun 28 22:39:06 2016 +0900
@@ -12,8 +12,10 @@
 
 #ifdef __GNUC__
 #define PRINTF_FORMAT_ __attribute__((format(printf, 1, 2)))
+#define UNUSED_ __attribute__((unused))
 #else
 #define PRINTF_FORMAT_
+#define UNUSED_
 #endif
 
 void abortmsg(const char *fmt, ...) PRINTF_FORMAT_;