diff options
author | Joe Perches <joe@perches.com> | 2013-09-21 19:22:50 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-21 20:01:39 +0200 |
commit | 4f69053b72c542faec2096ab454bba729a423efe (patch) | |
tree | d9d41cff48d8e46ddf5d2507648ae608354205c3 /include/net/netevent.h | |
parent | iw_handler.h: Remove extern from function prototypes (diff) | |
download | linux-4f69053b72c542faec2096ab454bba729a423efe.tar.xz linux-4f69053b72c542faec2096ab454bba729a423efe.zip |
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 fe630dde35c3..d8bbb38584b6 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 |