summaryrefslogtreecommitdiffstats
path: root/usr.bin/doscmd/int14.c
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2001-08-03 10:47:56 +0000
committertg <tg@FreeBSD.org>2001-08-03 10:47:56 +0000
commit35c464f8db5c9063cd84d117cfee4f41f3a34d7d (patch)
treedbd198ff9f3b1109120093a7b905cdf730a13435 /usr.bin/doscmd/int14.c
parent0f2b8ea245e81d2c129d6319196108b8586bed63 (diff)
downloadFreeBSD-src-35c464f8db5c9063cd84d117cfee4f41f3a34d7d.zip
FreeBSD-src-35c464f8db5c9063cd84d117cfee4f41f3a34d7d.tar.gz
Fix warnings from `-Wmissing-prototypes'. Staticize.
Diffstat (limited to 'usr.bin/doscmd/int14.c')
-rw-r--r--usr.bin/doscmd/int14.c32
1 files changed, 25 insertions, 7 deletions
diff --git a/usr.bin/doscmd/int14.c b/usr.bin/doscmd/int14.c
index 4b8e312..409c88f 100644
--- a/usr.bin/doscmd/int14.c
+++ b/usr.bin/doscmd/int14.c
@@ -46,13 +46,31 @@
struct com_data_struct com_data[N_COMS_MAX];
-struct queue *create_queue() { return(0); }
-int get_char_q() {}
-int queue_not_empty() {}
-int reset_irq_request() {}
-int set_irq_request() {}
-int test_irq_request() {}
-int write_div_latches() {}
+/* XXX where does struct queue come from? */
+static struct queue *create_queue(unsigned char);
+static int queue_not_empty(struct queue *);
+static int reset_irq_request(unsigned char);
+static int set_irq_request(unsigned char);
+static int test_irq_request(unsigned char);
+static int write_div_latches(struct com_data_struct *);
+
+static struct queue *
+create_queue(unsigned char irq) { return NULL; }
+
+static int
+queue_not_empty(struct queue *qp) {return 0;}
+
+static int
+reset_irq_request(unsigned char irq) {return 0;}
+
+static int
+set_irq_request(unsigned char irq) {return 0;}
+
+static int
+test_irq_request(unsigned char irq) {return 0;}
+
+static int
+write_div_latches(struct com_data_struct *cdsp) {return 0;}
void
int14(regcontext_t *REGS)
OpenPOWER on IntegriCloud