summaryrefslogtreecommitdiff
path: root/include/net/irda/ircomm_tty.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-09-23 18:37:44 (GMT)
committerDavid S. Miller <davem@davemloft.net>2013-09-23 20:29:42 (GMT)
commit0e418f94d3fcdc79c88841f3338e768e1b0966a1 (patch)
treedebccb54e18acb28bcde6c9ba60b5c47adcb60c9 /include/net/irda/ircomm_tty.h
parenta22b8f4b57af5a4bdda2039d82845285b2a2b7ec (diff)
downloadlinux-0e418f94d3fcdc79c88841f3338e768e1b0966a1.tar.xz
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.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/net/irda/ircomm_tty.h b/include/net/irda/ircomm_tty.h
index 80ffde3..0224402 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