mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
![Joe Perches](/assets/img/avatar_default.png)
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>
9 lines
183 B
C
9 lines
183 B
C
#ifndef __WIRELESS_SYSFS_H
|
|
#define __WIRELESS_SYSFS_H
|
|
|
|
int wiphy_sysfs_init(void);
|
|
void wiphy_sysfs_exit(void);
|
|
|
|
extern struct class ieee80211_class;
|
|
|
|
#endif /* __WIRELESS_SYSFS_H */
|