aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@mandriva.com>2005-08-16 01:18:02 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2005-08-29 19:01:32 -0400
commit20380731bc2897f2952ae055420972ded4cd786e (patch)
treeabd31e5ebfadcf4f9024634eec8b11855029e512 /include/linux/netdevice.h
parent9deff7f2365958c5c5aa8cb5a0dd651c4dd83f8f (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.h10
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
247extern 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);
673extern void dev_init(void); 674extern void dev_init(void);
674 675
675extern int netdev_nit; 676extern int netdev_nit;
677extern int netdev_budget;
676 678
677/* Called by rtnetlink.c:rtnl_unlock() */ 679/* Called by rtnetlink.c:rtnl_unlock() */
678extern void netdev_run_todo(void); 680extern void netdev_run_todo(void);
@@ -908,6 +910,14 @@ extern int skb_checksum_help(struct sk_buff *skb, int inward);
908extern void net_enable_timestamp(void); 910extern void net_enable_timestamp(void);
909extern void net_disable_timestamp(void); 911extern void net_disable_timestamp(void);
910 912
913#ifdef CONFIG_PROC_FS
914extern void *dev_seq_start(struct seq_file *seq, loff_t *pos);
915extern void *dev_seq_next(struct seq_file *seq, void *v, loff_t *pos);
916extern void dev_seq_stop(struct seq_file *seq, void *v);
917#endif
918
919extern void linkwatch_run_queue(void);
920
911#endif /* __KERNEL__ */ 921#endif /* __KERNEL__ */
912 922
913#endif /* _LINUX_DEV_H */ 923#endif /* _LINUX_DEV_H */