aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ibm/emac/debug.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-09-23 14:37:59 -0400
committerJoe Perches <joe@perches.com>2013-09-24 15:51:27 -0400
commitd4cb2ee17dbb9fb636e5e127e8cb6cbde9d28cef (patch)
tree4225c3a71a9eadb8c67c1b8028867a517eb21a03 /drivers/net/ethernet/ibm/emac/debug.h
parentb0983d3c9b132c33b6fb2e28d157a1edc18a173c (diff)
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>
Diffstat (limited to 'drivers/net/ethernet/ibm/emac/debug.h')
-rw-r--r--drivers/net/ethernet/ibm/emac/debug.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/net/ethernet/ibm/emac/debug.h b/drivers/net/ethernet/ibm/emac/debug.h
index 59a92d5870b5..9c45efe4c8fe 100644
--- a/drivers/net/ethernet/ibm/emac/debug.h
+++ b/drivers/net/ethernet/ibm/emac/debug.h
@@ -29,13 +29,13 @@
29struct emac_instance; 29struct emac_instance;
30struct mal_instance; 30struct mal_instance;
31 31
32extern void emac_dbg_register(struct emac_instance *dev); 32void emac_dbg_register(struct emac_instance *dev);
33extern void emac_dbg_unregister(struct emac_instance *dev); 33void emac_dbg_unregister(struct emac_instance *dev);
34extern void mal_dbg_register(struct mal_instance *mal); 34void mal_dbg_register(struct mal_instance *mal);
35extern void mal_dbg_unregister(struct mal_instance *mal); 35void mal_dbg_unregister(struct mal_instance *mal);
36extern int emac_init_debug(void) __init; 36int emac_init_debug(void) __init;
37extern void emac_fini_debug(void) __exit; 37void emac_fini_debug(void) __exit;
38extern void emac_dbg_dump_all(void); 38void emac_dbg_dump_all(void);
39 39
40# define DBG_LEVEL 1 40# define DBG_LEVEL 1
41 41