diff options
-rw-r--r-- | net/netfilter/nfnetlink.c | 4 | ||||
-rw-r--r-- | net/netfilter/nfnetlink_queue.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/net/netfilter/nfnetlink.c b/net/netfilter/nfnetlink.c index e089f17bb803..49a3900e3d32 100644 --- a/net/netfilter/nfnetlink.c +++ b/net/netfilter/nfnetlink.c | |||
@@ -344,14 +344,14 @@ static void nfnetlink_rcv(struct sock *sk, int len) | |||
344 | } while(nfnl && nfnl->sk_receive_queue.qlen); | 344 | } while(nfnl && nfnl->sk_receive_queue.qlen); |
345 | } | 345 | } |
346 | 346 | ||
347 | void __exit nfnetlink_exit(void) | 347 | static void __exit nfnetlink_exit(void) |
348 | { | 348 | { |
349 | printk("Removing netfilter NETLINK layer.\n"); | 349 | printk("Removing netfilter NETLINK layer.\n"); |
350 | sock_release(nfnl->sk_socket); | 350 | sock_release(nfnl->sk_socket); |
351 | return; | 351 | return; |
352 | } | 352 | } |
353 | 353 | ||
354 | int __init nfnetlink_init(void) | 354 | static int __init nfnetlink_init(void) |
355 | { | 355 | { |
356 | printk("Netfilter messages via NETLINK v%s.\n", nfversion); | 356 | printk("Netfilter messages via NETLINK v%s.\n", nfversion); |
357 | 357 | ||
diff --git a/net/netfilter/nfnetlink_queue.c b/net/netfilter/nfnetlink_queue.c index e3a5285329af..052fc97dae98 100644 --- a/net/netfilter/nfnetlink_queue.c +++ b/net/netfilter/nfnetlink_queue.c | |||
@@ -76,7 +76,7 @@ typedef int (*nfqnl_cmpfn)(struct nfqnl_queue_entry *, unsigned long); | |||
76 | 76 | ||
77 | static DEFINE_RWLOCK(instances_lock); | 77 | static DEFINE_RWLOCK(instances_lock); |
78 | 78 | ||
79 | u_int64_t htonll(u_int64_t in) | 79 | static u_int64_t htonll(u_int64_t in) |
80 | { | 80 | { |
81 | u_int64_t out; | 81 | u_int64_t out; |
82 | int i; | 82 | int i; |