summaryrefslogtreecommitdiffstats
path: root/usr.bin/doscmd/com.h
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2001-08-07 11:09:15 +0000
committertg <tg@FreeBSD.org>2001-08-07 11:09:15 +0000
commitfb3e81395fc4fea6fffdc652f1364adb21631758 (patch)
treef2a39d2f34ec621383d2d36c688d6fa7b95aea48 /usr.bin/doscmd/com.h
parent9e5e8e8ff4dc1c36140e5812f269c12f8ab078e8 (diff)
downloadFreeBSD-src-fb3e81395fc4fea6fffdc652f1364adb21631758.zip
FreeBSD-src-fb3e81395fc4fea6fffdc652f1364adb21631758.tar.gz
Fix warnings resulting from `-Wredundant-decls -Wstrict-prototypes'.
Diffstat (limited to 'usr.bin/doscmd/com.h')
-rw-r--r--usr.bin/doscmd/com.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/usr.bin/doscmd/com.h b/usr.bin/doscmd/com.h
index 98982a9..b2281d9 100644
--- a/usr.bin/doscmd/com.h
+++ b/usr.bin/doscmd/com.h
@@ -152,16 +152,12 @@ struct com_data_struct {
#define DIV_LATCH_HIGH_WRITTEN 0x02
#define DIV_LATCH_BOTH_WRITTEN 0x03
-/* variable declarations */
-
-extern int errno;
-
/* routine declarations */
-extern void int14(regcontext_t *REGS);
-extern void com_set_line(struct com_data_struct *, unsigned char, unsigned char);
-extern void init_com(int, char *, int, unsigned char);
-extern u_char com_port_in(int);
-extern void com_port_out(int, unsigned char);
+void int14(regcontext_t *REGS);
+void com_set_line(struct com_data_struct *, unsigned char, unsigned char);
+void init_com(int, char *, int, unsigned char);
+u_char com_port_in(int);
+void com_port_out(int, unsigned char);
/* end of file com.h */
OpenPOWER on IntegriCloud