summaryrefslogtreecommitdiff
path: root/util/macros.h
diff options
context:
space:
mode:
authorRuss Allbery <rra@stanford.edu>2010-02-21 17:45:56 -0800
committerRuss Allbery <rra@stanford.edu>2010-02-21 17:45:56 -0800
commitae14bea1375dd5923d4a73e167b27bee13feb7b7 (patch)
treec1222395732cf8ce2cca32f013f080d19736f474 /util/macros.h
parent57aba51dc26ebf0bdd034f6cb418a9ea5f1fc0be (diff)
parent60210334fa3dbd5dd168199063c6ee850d750d0c (diff)
Merge commit 'upstream/0.10' into debian
Diffstat (limited to 'util/macros.h')
-rw-r--r--util/macros.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/util/macros.h b/util/macros.h
new file mode 100644
index 0000000..97b2c2b
--- /dev/null
+++ b/util/macros.h
@@ -0,0 +1,17 @@
+/*
+ * Some standard helpful macros.
+ *
+ * Written by Russ Allbery <rra@stanford.edu>
+ * This work is hereby placed in the public domain by its author.
+ */
+
+#ifndef UTIL_MACROS_H
+#define UTIL_MACROS_H 1
+
+#include <config.h>
+#include <portable/macros.h>
+
+/* Used for unused parameters to silence gcc warnings. */
+#define UNUSED __attribute__((__unused__))
+
+#endif /* UTIL_MACROS_H */