aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-11-28 16:09:47 +0000
committerChristian Grothoff <christian@grothoff.org>2011-11-28 16:09:47 +0000
commit4917fb20a07aa3221683c8a2112c514f44594350 (patch)
tree3584e6988f6bcddd19ea9d77c040e02d659a79c9 /src/include
parent636b3202c2ea8ebc6dd51a90c839a2e495ea0d27 (diff)
downloadgnunet-4917fb20a07aa3221683c8a2112c514f44594350.tar.gz
gnunet-4917fb20a07aa3221683c8a2112c514f44594350.zip
introducing GNUNET_UNUSED macro instead of hard-coding gcc attribute all over the place; also some further documentation fixes
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h
index 69a428bb5..d406bcacd 100644
--- a/src/include/gnunet_common.h
+++ b/src/include/gnunet_common.h
@@ -77,6 +77,11 @@
77 */ 77 */
78#define GNUNET_PACKED __attribute__((packed)) 78#define GNUNET_PACKED __attribute__((packed))
79 79
80/**
81 * gcc-ism to document unused arguments
82 */
83#define GNUNET_UNUSED __attribute__((unused))
84
80 85
81/* ************************ super-general types *********************** */ 86/* ************************ super-general types *********************** */
82 87