diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-09-28 18:05:01 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-09-28 18:05:01 -0400 |
commit | a77b95b57475c2856707e91b197f8aaa8e5eb407 (patch) | |
tree | d466b39a60be395463097ab3ab2592606602ef62 /gps2udp.c | |
parent | 382d597d018efcab0bb2cec19cb257e8048ba913 (diff) | |
download | gpsd-a77b95b57475c2856707e91b197f8aaa8e5eb407.tar.gz |
Banish some compiler warnings.
Diffstat (limited to 'gps2udp.c')
-rw-r--r-- | gps2udp.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -23,6 +23,7 @@ #include <termios.h> #include <time.h> #include <sys/time.h> +#include <assert.h> #ifndef S_SPLINT_S #include <unistd.h> @@ -290,7 +291,7 @@ static ssize_t read_gpsd(char *message, size_t len) retry = 0; } if (debug > 0) - (void)write (1, ".", 1); + ignore_return(write (1, ".", 1)); break; default: /* we lost connection with gpsd */ |