diff options
author | Chris Kuethe <chris.kuethe@gmail.com> | 2006-10-26 21:40:43 +0000 |
---|---|---|
committer | Chris Kuethe <chris.kuethe@gmail.com> | 2006-10-26 21:40:43 +0000 |
commit | 5794bb4cc9b92789c326bc64f321d41bca6f94bc (patch) | |
tree | b5cda5d501fb1f49fd31f54d77df17e5a332c98e | |
parent | a1fa10805441d7e49d21853a4e9aa64ec1257930 (diff) | |
download | gpsd-5794bb4cc9b92789c326bc64f321d41bca6f94bc.tar.gz |
Hush more compiler warnings
-rw-r--r-- | cgps.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -22,6 +22,9 @@ Kind of a curses version of xgps for use with gpsd. */ +#include <sys/types.h> +#include <sys/select.h> +#include <sys/socket.h> #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -29,8 +32,6 @@ #include <unistd.h> #include <math.h> #include <errno.h> -#include <sys/select.h> -#include <sys/socket.h> #include <ncurses.h> #include <signal.h> @@ -88,7 +89,7 @@ static enum deg_str_type deg_type = deg_dd; /* This gets called once for each new sentence. */ static void update_panel(struct gps_data_t *gpsdata, char *message, - size_t len, + size_t len UNUSED , int level UNUSED) { int i; |