aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/protocol.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-07-09 21:22:10 +0000
committerDavid S. Miller <davem@davemloft.net>2010-07-12 12:57:54 -0700
commit4bc2f18ba4f22a90ab593c0a580fc9a19c4777b6 (patch)
treebb39f427bd468d0e34a73ebc788db726406fa261 /net/ipv4/protocol.c
parentac3200: fix error path (diff)
downloadlinux-dev-4bc2f18ba4f22a90ab593c0a580fc9a19c4777b6.tar.xz
linux-dev-4bc2f18ba4f22a90ab593c0a580fc9a19c4777b6.zip
net/ipv4: EXPORT_SYMBOL cleanups
CodingStyle cleanups EXPORT_SYMBOL should immediately follow the symbol declaration. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/protocol.c')
-rw-r--r--net/ipv4/protocol.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv4/protocol.c b/net/ipv4/protocol.c
index 542f22fc98b3..f2d297351405 100644
--- a/net/ipv4/protocol.c
+++ b/net/ipv4/protocol.c
@@ -52,6 +52,7 @@ int inet_add_protocol(const struct net_protocol *prot, unsigned char protocol)
return ret;
}
+EXPORT_SYMBOL(inet_add_protocol);
/*
* Remove a protocol from the hash tables.
@@ -76,6 +77,4 @@ int inet_del_protocol(const struct net_protocol *prot, unsigned char protocol)
return ret;
}
-
-EXPORT_SYMBOL(inet_add_protocol);
EXPORT_SYMBOL(inet_del_protocol);