diff options
author | Joe Perches <joe@perches.com> | 2013-10-18 16:48:25 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-19 19:12:11 -0400 |
commit | c1b1203d65955c179fec617ff17a21273f33a414 (patch) | |
tree | a84a93bae0abe5e796dce767a320ab4262ffb63f /net/wimax | |
parent | 7e58487b8cf5871d2a0fa03892dbd4b3a620d07f (diff) |
net: misc: 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 'net/wimax')
-rw-r--r-- | net/wimax/wimax-internal.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/net/wimax/wimax-internal.h b/net/wimax/wimax-internal.h index 1e743d214856..5dcd9c067bf0 100644 --- a/net/wimax/wimax-internal.h +++ b/net/wimax/wimax-internal.h | |||
@@ -63,11 +63,11 @@ void __wimax_state_set(struct wimax_dev *wimax_dev, enum wimax_st state) | |||
63 | { | 63 | { |
64 | wimax_dev->state = state; | 64 | wimax_dev->state = state; |
65 | } | 65 | } |
66 | extern void __wimax_state_change(struct wimax_dev *, enum wimax_st); | 66 | void __wimax_state_change(struct wimax_dev *, enum wimax_st); |
67 | 67 | ||
68 | #ifdef CONFIG_DEBUG_FS | 68 | #ifdef CONFIG_DEBUG_FS |
69 | extern int wimax_debugfs_add(struct wimax_dev *); | 69 | int wimax_debugfs_add(struct wimax_dev *); |
70 | extern void wimax_debugfs_rm(struct wimax_dev *); | 70 | void wimax_debugfs_rm(struct wimax_dev *); |
71 | #else | 71 | #else |
72 | static inline int wimax_debugfs_add(struct wimax_dev *wimax_dev) | 72 | static inline int wimax_debugfs_add(struct wimax_dev *wimax_dev) |
73 | { | 73 | { |
@@ -76,13 +76,13 @@ static inline int wimax_debugfs_add(struct wimax_dev *wimax_dev) | |||
76 | static inline void wimax_debugfs_rm(struct wimax_dev *wimax_dev) {} | 76 | static inline void wimax_debugfs_rm(struct wimax_dev *wimax_dev) {} |
77 | #endif | 77 | #endif |
78 | 78 | ||
79 | extern void wimax_id_table_add(struct wimax_dev *); | 79 | void wimax_id_table_add(struct wimax_dev *); |
80 | extern struct wimax_dev *wimax_dev_get_by_genl_info(struct genl_info *, int); | 80 | struct wimax_dev *wimax_dev_get_by_genl_info(struct genl_info *, int); |
81 | extern void wimax_id_table_rm(struct wimax_dev *); | 81 | void wimax_id_table_rm(struct wimax_dev *); |
82 | extern void wimax_id_table_release(void); | 82 | void wimax_id_table_release(void); |
83 | 83 | ||
84 | extern int wimax_rfkill_add(struct wimax_dev *); | 84 | int wimax_rfkill_add(struct wimax_dev *); |
85 | extern void wimax_rfkill_rm(struct wimax_dev *); | 85 | void wimax_rfkill_rm(struct wimax_dev *); |
86 | 86 | ||
87 | extern struct genl_family wimax_gnl_family; | 87 | extern struct genl_family wimax_gnl_family; |
88 | extern struct genl_multicast_group wimax_gnl_mcg; | 88 | extern struct genl_multicast_group wimax_gnl_mcg; |