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/irda | |
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/irda')
-rw-r--r-- | net/irda/irnet/irnet.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/net/irda/irnet/irnet.h b/net/irda/irnet/irnet.h index 564eb0b8afa3..8d65bb9477fc 100644 --- a/net/irda/irnet/irnet.h +++ b/net/irda/irnet/irnet.h | |||
@@ -509,16 +509,11 @@ typedef struct irnet_ctrl_channel | |||
509 | */ | 509 | */ |
510 | 510 | ||
511 | /* -------------------------- IRDA PART -------------------------- */ | 511 | /* -------------------------- IRDA PART -------------------------- */ |
512 | extern int | 512 | int irda_irnet_create(irnet_socket *); /* Initialise an IrNET socket */ |
513 | irda_irnet_create(irnet_socket *); /* Initialise a IrNET socket */ | 513 | int irda_irnet_connect(irnet_socket *); /* Try to connect over IrDA */ |
514 | extern int | 514 | void irda_irnet_destroy(irnet_socket *); /* Teardown an IrNET socket */ |
515 | irda_irnet_connect(irnet_socket *); /* Try to connect over IrDA */ | 515 | int irda_irnet_init(void); /* Initialise IrDA part of IrNET */ |
516 | extern void | 516 | void irda_irnet_cleanup(void); /* Teardown IrDA part of IrNET */ |
517 | irda_irnet_destroy(irnet_socket *); /* Teardown a IrNET socket */ | ||
518 | extern int | ||
519 | irda_irnet_init(void); /* Initialise IrDA part of IrNET */ | ||
520 | extern void | ||
521 | irda_irnet_cleanup(void); /* Teardown IrDA part of IrNET */ | ||
522 | 517 | ||
523 | /**************************** VARIABLES ****************************/ | 518 | /**************************** VARIABLES ****************************/ |
524 | 519 | ||