git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
net
/
ipv4
/
ipvs
/
ip_vs_proto.c
diff --git
a/net/ipv4/ipvs/ip_vs_proto.c
b/net/ipv4/ipvs/ip_vs_proto.c
index
dfd0a7d
..
253c462
100644
(file)
--- a/
net/ipv4/ipvs/ip_vs_proto.c
+++ b/
net/ipv4/ipvs/ip_vs_proto.c
@@
-45,7
+45,7
@@
static struct ip_vs_protocol *ip_vs_proto_table[IP_VS_PROTO_TAB_SIZE];
/*
* register an ipvs protocol
*/
/*
* register an ipvs protocol
*/
-int register_ip_vs_protocol(struct ip_vs_protocol *pp)
+
static
int register_ip_vs_protocol(struct ip_vs_protocol *pp)
{
unsigned hash = IP_VS_PROTO_HASH(pp->protocol);
{
unsigned hash = IP_VS_PROTO_HASH(pp->protocol);
@@
-62,7
+62,7
@@
int register_ip_vs_protocol(struct ip_vs_protocol *pp)
/*
* unregister an ipvs protocol
*/
/*
* unregister an ipvs protocol
*/
-int unregister_ip_vs_protocol(struct ip_vs_protocol *pp)
+
static
int unregister_ip_vs_protocol(struct ip_vs_protocol *pp)
{
struct ip_vs_protocol **pp_p;
unsigned hash = IP_VS_PROTO_HASH(pp->protocol);
{
struct ip_vs_protocol **pp_p;
unsigned hash = IP_VS_PROTO_HASH(pp->protocol);