summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2008-11-18 12:16:52 +0100
committerPatrick McHardy <kaber@trash.net>2008-11-18 12:16:52 +0100
commitd9e150071d18b5c87ba7a097af4063a5ad0c6a0c (patch)
treed554185f1c64df5ec6856c0f320e7f16037f14a5 /include
parent19abb7b090a6bce88d4e9b2914a0367f4f684432 (diff)
downloadop-kernel-dev-d9e150071d18b5c87ba7a097af4063a5ad0c6a0c.zip
op-kernel-dev-d9e150071d18b5c87ba7a097af4063a5ad0c6a0c.tar.gz
netfilter: nfnetlink_log: fix warning and prototype mismatch
net/netfilter/nfnetlink_log.c:537:1: warning: symbol 'nfulnl_log_packet' was not declared. Should it be static? Including the proper header also revealed an incorrect prototype. Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/netfilter/nfnetlink_log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/netfilter/nfnetlink_log.h b/include/net/netfilter/nfnetlink_log.h
index 9b67f94..b0569ff 100644
--- a/include/net/netfilter/nfnetlink_log.h
+++ b/include/net/netfilter/nfnetlink_log.h
@@ -2,7 +2,7 @@
#define _KER_NFNETLINK_LOG_H
void
-nfulnl_log_packet(unsigned int pf,
+nfulnl_log_packet(u_int8_t pf,
unsigned int hooknum,
const struct sk_buff *skb,
const struct net_device *in,
OpenPOWER on IntegriCloud