diff options
author | Joe Perches <joe@perches.com> | 2013-09-21 10:22:50 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-21 14:01:39 -0400 |
commit | 4f69053b72c542faec2096ab454bba729a423efe (patch) | |
tree | d9d41cff48d8e46ddf5d2507648ae608354205c3 /include/net/netevent.h | |
parent | 70a3926f49896be866e5f2bd9c47cf4b33e3f2e3 (diff) |
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.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/net/netevent.h b/include/net/netevent.h index fe630dde35c..d8bbb38584b 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 |