diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-12-20 16:08:22 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-22 11:12:05 -0800 |
commit | 24123186fa271e7ad34a40f815782e6205f34ff7 (patch) | |
tree | 5db803011d88a66eb52a37a30a0e7aa4a8f76e1f /net/sctp/protocol.c | |
parent | 0f3fffd8ab1db7658c97c167e8ab001cc814e1f4 (diff) | |
download | op-kernel-dev-24123186fa271e7ad34a40f815782e6205f34ff7.zip op-kernel-dev-24123186fa271e7ad34a40f815782e6205f34ff7.tar.gz |
[SCTP]: make 2 functions static
This patch makes the following needlessly global functions static:
- ipv6.c: sctp_inet6addr_event()
- protocol.c: sctp_inetaddr_event()
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/protocol.c')
-rw-r--r-- | net/sctp/protocol.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c index 3a3db56..225f39b 100644 --- a/net/sctp/protocol.c +++ b/net/sctp/protocol.c @@ -601,8 +601,8 @@ static void sctp_v4_seq_dump_addr(struct seq_file *seq, union sctp_addr *addr) } /* Event handler for inet address addition/deletion events. */ -int sctp_inetaddr_event(struct notifier_block *this, unsigned long ev, - void *ptr) +static int sctp_inetaddr_event(struct notifier_block *this, unsigned long ev, + void *ptr) { struct in_ifaddr *ifa = (struct in_ifaddr *)ptr; struct sctp_sockaddr_entry *addr; |