diff options
author | Joe Perches <joe@perches.com> | 2013-09-23 11:37:44 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-23 16:29:42 -0400 |
commit | 0e418f94d3fcdc79c88841f3338e768e1b0966a1 (patch) | |
tree | debccb54e18acb28bcde6c9ba60b5c47adcb60c9 /include/net/irda/ircomm_tty.h | |
parent | a22b8f4b57af5a4bdda2039d82845285b2a2b7ec (diff) | |
download | linux-0e418f94d3fcdc79c88841f3338e768e1b0966a1.tar.bz2 |
irda: 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 'include/net/irda/ircomm_tty.h')
-rw-r--r-- | include/net/irda/ircomm_tty.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/net/irda/ircomm_tty.h b/include/net/irda/ircomm_tty.h index 80ffde3bb164..0224402260a7 100644 --- a/include/net/irda/ircomm_tty.h +++ b/include/net/irda/ircomm_tty.h @@ -105,13 +105,13 @@ struct ircomm_tty_cb { void ircomm_tty_start(struct tty_struct *tty); void ircomm_tty_check_modem_status(struct ircomm_tty_cb *self); -extern int ircomm_tty_tiocmget(struct tty_struct *tty); -extern int ircomm_tty_tiocmset(struct tty_struct *tty, - unsigned int set, unsigned int clear); -extern int ircomm_tty_ioctl(struct tty_struct *tty, - unsigned int cmd, unsigned long arg); -extern void ircomm_tty_set_termios(struct tty_struct *tty, - struct ktermios *old_termios); +int ircomm_tty_tiocmget(struct tty_struct *tty); +int ircomm_tty_tiocmset(struct tty_struct *tty, unsigned int set, + unsigned int clear); +int ircomm_tty_ioctl(struct tty_struct *tty, unsigned int cmd, + unsigned long arg); +void ircomm_tty_set_termios(struct tty_struct *tty, + struct ktermios *old_termios); #endif |