summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2009-04-03 11:29:44 +0200
committerAndreas Baumann <abaumann@yahoo.com>2009-04-03 11:29:44 +0200
commit4eeabfd1ede65dc89299e7b7ddb6d8a69e0450ff (patch)
tree10793370b455fa66d30267ce21a8f692a1c13f65 /include
parentf77d4b9df5ced447b3ac3df2e02fc59d726d1560 (diff)
downloadwolfbones-4eeabfd1ede65dc89299e7b7ddb6d8a69e0450ff.tar.gz
wolfbones-4eeabfd1ede65dc89299e7b7ddb6d8a69e0450ff.tar.bz2
more network testing
Diffstat (limited to 'include')
-rw-r--r--include/wolf/port/unused.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/wolf/port/unused.h b/include/wolf/port/unused.h
new file mode 100644
index 0000000..c18ed27
--- /dev/null
+++ b/include/wolf/port/unused.h
@@ -0,0 +1,9 @@
+#ifndef WOLF_UNUSED_H
+#define WOLF_UNUSED_H
+
+/**
+ * @brief Macro to avoid unused parameter messages in functions
+ */
+#define WOLF_UNUSED( x ) if( 0 && (x) ) { }
+
+#endif /* ifndef WOLF_UNUSED_H */