Skip to content

Commit

Permalink
netfilter: nfnetlink_log: fix warning and prototype mismatch
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Patrick McHardy committed Nov 18, 2008
1 parent 19abb7b commit d9e1500
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion include/net/netfilter/nfnetlink_log.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions net/netfilter/nfnetlink_log.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#include <linux/random.h>
#include <net/sock.h>
#include <net/netfilter/nf_log.h>
#include <net/netfilter/nfnetlink_log.h>

#include <asm/atomic.h>

Expand Down

0 comments on commit d9e1500

Please sign in to comment.