summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-03-21 19:47:30 +0800
committerwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-03-21 19:47:30 +0800
commit4813f76942b44fa45159fcd743657ce203601464 (patch)
treebac6a970516342f06c672bafbdf11c93e95da7b6 /include
parent66a0e0e786412114be7e2439b816b2780601e016 (diff)
downloadpttbbs-4813f76942b44fa45159fcd743657ce203601464.tar
pttbbs-4813f76942b44fa45159fcd743657ce203601464.tar.gz
pttbbs-4813f76942b44fa45159fcd743657ce203601464.tar.bz2
pttbbs-4813f76942b44fa45159fcd743657ce203601464.tar.lz
pttbbs-4813f76942b44fa45159fcd743657ce203601464.tar.xz
pttbbs-4813f76942b44fa45159fcd743657ce203601464.tar.zst
pttbbs-4813f76942b44fa45159fcd743657ce203601464.zip
Clean up some compile warnings (unused, signess)
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4448 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r--include/proto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/proto.h b/include/proto.h
index cc0e4562..414e8b6c 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -5,9 +5,11 @@
#ifdef __GNUC__
#define GCC_CHECK_FORMAT(a,b) __attribute__ ((format (printf, a, b)))
#define GCC_NORETURN __attribute__ ((__noreturn__))
+#define GCC_UNUSED __attribute__ ((__unused__))
#else
#define GCC_CHECK_FORMAT(a,b)
#define GCC_NORETURN
+#define GCC_UNUSED
#endif
/* admin */