diff options
author | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2005-08-16 01:18:02 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-08-29 19:01:32 -0400 |
commit | 20380731bc2897f2952ae055420972ded4cd786e (patch) | |
tree | abd31e5ebfadcf4f9024634eec8b11855029e512 /include/linux/netdevice.h | |
parent | 9deff7f2365958c5c5aa8cb5a0dd651c4dd83f8f (diff) |
[NET]: Fix sparse warnings
Of this type, mostly:
CHECK net/ipv6/netfilter.c
net/ipv6/netfilter.c:96:12: warning: symbol 'ipv6_netfilter_init' was not declared. Should it be static?
net/ipv6/netfilter.c:101:6: warning: symbol 'ipv6_netfilter_fini' was not declared. Should it be static?
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index d8e52edfd526..1fcaa88b8625 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -244,6 +244,7 @@ struct netdev_boot_setup { | |||
244 | }; | 244 | }; |
245 | #define NETDEV_BOOT_SETUP_MAX 8 | 245 | #define NETDEV_BOOT_SETUP_MAX 8 |
246 | 246 | ||
247 | extern int __init netdev_boot_setup(char *str); | ||
247 | 248 | ||
248 | /* | 249 | /* |
249 | * The DEVICE structure. | 250 | * The DEVICE structure. |
@@ -673,6 +674,7 @@ extern void dev_queue_xmit_nit(struct sk_buff *skb, struct net_device *dev); | |||
673 | extern void dev_init(void); | 674 | extern void dev_init(void); |
674 | 675 | ||
675 | extern int netdev_nit; | 676 | extern int netdev_nit; |
677 | extern int netdev_budget; | ||
676 | 678 | ||
677 | /* Called by rtnetlink.c:rtnl_unlock() */ | 679 | /* Called by rtnetlink.c:rtnl_unlock() */ |
678 | extern void netdev_run_todo(void); | 680 | extern void netdev_run_todo(void); |
@@ -908,6 +910,14 @@ extern int skb_checksum_help(struct sk_buff *skb, int inward); | |||
908 | extern void net_enable_timestamp(void); | 910 | extern void net_enable_timestamp(void); |
909 | extern void net_disable_timestamp(void); | 911 | extern void net_disable_timestamp(void); |
910 | 912 | ||
913 | #ifdef CONFIG_PROC_FS | ||
914 | extern void *dev_seq_start(struct seq_file *seq, loff_t *pos); | ||
915 | extern void *dev_seq_next(struct seq_file *seq, void *v, loff_t *pos); | ||
916 | extern void dev_seq_stop(struct seq_file *seq, void *v); | ||
917 | #endif | ||
918 | |||
919 | extern void linkwatch_run_queue(void); | ||
920 | |||
911 | #endif /* __KERNEL__ */ | 921 | #endif /* __KERNEL__ */ |
912 | 922 | ||
913 | #endif /* _LINUX_DEV_H */ | 923 | #endif /* _LINUX_DEV_H */ |