From 1284e536fe44746396f2bd7b4c1595d8c9ae7856 Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Thu, 28 Jul 2011 17:08:43 +0200 Subject: [PATCH] Compilation fixes --- antlib.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/antlib.c b/antlib.c index 9891232..3793bff 100644 --- a/antlib.c +++ b/antlib.c @@ -45,6 +45,8 @@ struct msg_queue { uchar len; }; +void get_data(int fd); + // send message over serial port uchar msg_send(uchar mesg, uchar *inbuf, uchar len) @@ -138,6 +140,7 @@ void *commfn(void* arg) int ready; struct timeval to; + (void)arg; for(;;) { FD_ZERO(&readfds); FD_ZERO(&writefds); @@ -152,7 +155,7 @@ void *commfn(void* arg) } } -get_data(int fd) +void get_data(int fd) { static uchar buf[500]; static int bufc = 0; -- 2.39.5