From dd87d59f475dae07e3acea8df3852dc9a6a12fce Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 17 Mar 2014 17:50:57 +0100 Subject: Compiler option cleanup and -Wextra fixes --- mmss/types.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'mmss/types.hpp') 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 } + +#define UNUSED __attribute__((unused)) + + struct gmrf {}; struct gmrf_iface {}; -- cgit v1.2.3