summaryrefslogtreecommitdiffstats
path: root/mmss/types.hpp
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-03-17 17:50:57 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-03-17 17:50:57 +0100
commitdd87d59f475dae07e3acea8df3852dc9a6a12fce (patch)
tree96ec6cf9f7f28e13bcaf99e86c7e467152474b8b /mmss/types.hpp
parent56a8a7465ce8a02148a0e6b1bae4d3d7062c78fa (diff)
downloadgmrf-dd87d59f475dae07e3acea8df3852dc9a6a12fce.tar
gmrf-dd87d59f475dae07e3acea8df3852dc9a6a12fce.zip
Compiler option cleanup and -Wextra fixes
Diffstat (limited to 'mmss/types.hpp')
-rw-r--r--mmss/types.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/mmss/types.hpp b/mmss/types.hpp
index 668e2c2..bf95437 100644
--- a/mmss/types.hpp
+++ b/mmss/types.hpp
@@ -26,16 +26,16 @@
#pragma once
-#ifndef _GNU_SOURCE
-#define _GNU_SOURCE
-#endif
-
extern "C" {
#include <gmrf/gmrf.h>
}
+
+#define UNUSED __attribute__((unused))
+
+
struct gmrf {};
struct gmrf_iface {};