Skip to content

Commit

Permalink
[IPV6] net/ipv6/sit.c: make 2 functions static
Browse files Browse the repository at this point in the history
This patch makes two needlessly global functions static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Adrian Bunk authored and David S. Miller committed Dec 3, 2006
1 parent 1459bb3 commit 89c8945
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions include/net/ipip.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,4 @@ struct ip_tunnel
} \
} while (0)


extern int sit_init(void);
extern void sit_cleanup(void);

#endif
4 changes: 2 additions & 2 deletions net/ipv6/sit.c
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ static void __exit sit_destroy_tunnels(void)
}
}

void __exit sit_cleanup(void)
static void __exit sit_cleanup(void)
{
inet_del_protocol(&sit_protocol, IPPROTO_IPV6);

Expand All @@ -819,7 +819,7 @@ void __exit sit_cleanup(void)
rtnl_unlock();
}

int __init sit_init(void)
static int __init sit_init(void)
{
int err;

Expand Down

0 comments on commit 89c8945

Please sign in to comment.