mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
ibm/emac: 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>
This commit is contained in:
parent
b0983d3c9b
commit
d4cb2ee17d
4 changed files with 32 additions and 32 deletions
|
@ -29,13 +29,13 @@
|
|||
struct emac_instance;
|
||||
struct mal_instance;
|
||||
|
||||
extern void emac_dbg_register(struct emac_instance *dev);
|
||||
extern void emac_dbg_unregister(struct emac_instance *dev);
|
||||
extern void mal_dbg_register(struct mal_instance *mal);
|
||||
extern void mal_dbg_unregister(struct mal_instance *mal);
|
||||
extern int emac_init_debug(void) __init;
|
||||
extern void emac_fini_debug(void) __exit;
|
||||
extern void emac_dbg_dump_all(void);
|
||||
void emac_dbg_register(struct emac_instance *dev);
|
||||
void emac_dbg_unregister(struct emac_instance *dev);
|
||||
void mal_dbg_register(struct mal_instance *mal);
|
||||
void mal_dbg_unregister(struct mal_instance *mal);
|
||||
int emac_init_debug(void) __init;
|
||||
void emac_fini_debug(void) __exit;
|
||||
void emac_dbg_dump_all(void);
|
||||
|
||||
# define DBG_LEVEL 1
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue