diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2013-07-14 14:21:32 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2013-07-14 14:21:32 +0200 |
commit | cabf2bedace69096dc6b134e0add5792671a13c6 (patch) | |
tree | a326ffa41d30daa29e7989a9e83f9d2bf8b6b935 /flowtop.c | |
parent | 4bf95d6fff7bc3727fa4d4b916b2c6e4fcf87a83 (diff) |
flowtop: Mark unused parameters with __maybe_unused
In order to avoid compiler warnings when compiling with
-W/-Wunused-parameter, mark unused function parameters with
__maybe_unused.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'flowtop.c')
-rw-r--r-- | flowtop.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1015,7 +1015,7 @@ static void presenter(void) } static int collector_cb(enum nf_conntrack_msg_type type, - struct nf_conntrack *ct, void *data) + struct nf_conntrack *ct, void *data __maybe_unused) { if (sigint) return NFCT_CB_STOP; @@ -1047,7 +1047,7 @@ static inline void collector_flush(struct nfct_handle *handle, uint8_t family) nfct_query(handle, NFCT_Q_FLUSH, &family); } -static void *collector(void *null) +static void *collector(void *null __maybe_unused) { int ret; struct nfct_handle *handle; |