diff options
author | Rami Rosen <ramirose@gmail.com> | 2008-01-02 00:13:09 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:00:29 -0500 |
commit | b798232fcc1c608433e1927df1d49b13b066b698 (patch) | |
tree | fb0e3cfe2d79bb395d2c9c33d7186e79d0f10069 /include/net/ip.h | |
parent | f1862b0ae2294f6970f695abf02392d025e02dbe (diff) |
[IPV4]: Remove three declarations of unimplemented methods and correct a typo in include/net/ip.h
These three declarations in include/net/ip.h are not implemented
anywhere:
ip_mc_dropsocket(), ip_mc_dropdevice() and ip_net_unreachable().
Also, correct a comment to be "Functions provided by ip_fragment.c"
(instead of by ip_fragment.o) in consistency with the other comments
in this header.
Signed-off-by: Rami Rosen <ramirose@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip.h')
-rw-r--r-- | include/net/ip.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/net/ip.h b/include/net/ip.h index 571bcf2a1cff..cbeb97d38860 100644 --- a/include/net/ip.h +++ b/include/net/ip.h | |||
@@ -82,8 +82,6 @@ struct packet_type; | |||
82 | struct rtable; | 82 | struct rtable; |
83 | struct sockaddr; | 83 | struct sockaddr; |
84 | 84 | ||
85 | extern void ip_mc_dropsocket(struct sock *); | ||
86 | extern void ip_mc_dropdevice(struct net_device *dev); | ||
87 | extern int igmp_mc_proc_init(void); | 85 | extern int igmp_mc_proc_init(void); |
88 | 86 | ||
89 | /* | 87 | /* |
@@ -321,7 +319,7 @@ static __inline__ void inet_reset_saddr(struct sock *sk) | |||
321 | extern int ip_call_ra_chain(struct sk_buff *skb); | 319 | extern int ip_call_ra_chain(struct sk_buff *skb); |
322 | 320 | ||
323 | /* | 321 | /* |
324 | * Functions provided by ip_fragment.o | 322 | * Functions provided by ip_fragment.c |
325 | */ | 323 | */ |
326 | 324 | ||
327 | enum ip_defrag_users | 325 | enum ip_defrag_users |
@@ -344,7 +342,6 @@ int ip_frag_nqueues(void); | |||
344 | */ | 342 | */ |
345 | 343 | ||
346 | extern int ip_forward(struct sk_buff *skb); | 344 | extern int ip_forward(struct sk_buff *skb); |
347 | extern int ip_net_unreachable(struct sk_buff *skb); | ||
348 | 345 | ||
349 | /* | 346 | /* |
350 | * Functions provided by ip_options.c | 347 | * Functions provided by ip_options.c |