summaryrefslogtreecommitdiffstats
path: root/src/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/types.h b/src/types.h
index 027a1f1..7303baa 100644
--- a/src/types.h
+++ b/src/types.h
@@ -34,6 +34,12 @@
#define MAX(a,b) ((a) > (b) ? (a) : (b))
#endif
+#ifdef __GNUC__
+#define UNUSED __attribute__ ((unused))
+#else
+#define UNUSED dfg dsfg dg
+#endif
+
// ioctl
#define DNBD3_MAGIC 'd'
#define IOCTL_OPEN _IO(0xab, 1)