diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-09-28 01:42:53 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-09-28 01:42:53 -0400 |
commit | c9236cfabe70ea6782c8d17333facfae8012aad1 (patch) | |
tree | 617946fc6c37c875399e410864d2f3a85bd0c564 /gpxlogger.c | |
parent | a6215294142785ee892959da35d1ff8294fe2802 (diff) | |
download | gpsd-c9236cfabe70ea6782c8d17333facfae8012aad1.tar.gz |
splint cleanup.
Diffstat (limited to 'gpxlogger.c')
-rw-r--r-- | gpxlogger.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gpxlogger.c b/gpxlogger.c index 51337f99..63e5be1a 100644 --- a/gpxlogger.c +++ b/gpxlogger.c @@ -17,6 +17,7 @@ #endif /* S_SPLINT_S */ #include "gps.h" +#include "libgps.h" /* TEMPORARY */ #include "gpsd_config.h" #include "gpsdclient.h" #include "revision.h" @@ -261,7 +262,7 @@ static int shm_mainloop(void) } print_gpx_header(); - gps_shm_mainloop(&gpsdata, 0, conditionally_log_fix); + (int)gps_shm_mainloop(&gpsdata, 0, conditionally_log_fix); print_gpx_footer(); (void)gps_close(&gpsdata); return 0; |