summaryrefslogtreecommitdiff
path: root/include/net/netevent.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-09-21 17:22:50 (GMT)
committerDavid S. Miller <davem@davemloft.net>2013-09-21 18:01:39 (GMT)
commit4f69053b72c542faec2096ab454bba729a423efe (patch)
treed9d41cff48d8e46ddf5d2507648ae608354205c3 /include/net/netevent.h
parent70a3926f49896be866e5f2bd9c47cf4b33e3f2e3 (diff)
downloadlinux-fsl-qoriq-4f69053b72c542faec2096ab454bba729a423efe.tar.xz
netevent/netlink.h: Remove extern from function prototypes
There are a mix of function prototypes with and without extern in the kernel sources. Standardize on not using extern for function prototypes. Function prototypes don't need to be written with extern. extern is assumed by the compiler. Its use is as unnecessary as using auto to declare automatic/local variables in a block. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netevent.h')
-rw-r--r--include/net/netevent.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/net/netevent.h b/include/net/netevent.h
index fe630dd..d8bbb38 100644
--- a/include/net/netevent.h
+++ b/include/net/netevent.h
@@ -26,8 +26,8 @@ enum netevent_notif_type {
NETEVENT_REDIRECT, /* arg is struct netevent_redirect ptr */
};
-extern int register_netevent_notifier(struct notifier_block *nb);
-extern int unregister_netevent_notifier(struct notifier_block *nb);
-extern int call_netevent_notifiers(unsigned long val, void *v);
+int register_netevent_notifier(struct notifier_block *nb);
+int unregister_netevent_notifier(struct notifier_block *nb);
+int call_netevent_notifiers(unsigned long val, void *v);
#endif