diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-09-29 01:13:58 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-09-29 01:13:58 -0400 |
commit | 25724b4a4734070a370a9c17d5e54d6fa1f59cb4 (patch) | |
tree | d9428594f113b3398794b6afa13e3804c4742ece /gpxlogger.c | |
parent | 33f55972e3d94a18e6db416500ab20830120eb65 (diff) | |
download | gpsd-25724b4a4734070a370a9c17d5e54d6fa1f59cb4.tar.gz |
Remove an unncessary inclusion.
Diffstat (limited to 'gpxlogger.c')
-rw-r--r-- | gpxlogger.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gpxlogger.c b/gpxlogger.c index 1b1d51e2..2e27d046 100644 --- a/gpxlogger.c +++ b/gpxlogger.c @@ -18,7 +18,6 @@ #include "gps.h" #include "gpsd_config.h" -#include "libgps.h" /* TEMPORARY */ #include "gpsdclient.h" #include "revision.h" @@ -313,7 +312,7 @@ int main(int argc, char **argv) if (method == NULL) method = &methods[0]; if (method->magic != NULL) { - source.server = method->magic; + source.server = (char *)method->magic; source.port = NULL; } @@ -326,7 +325,7 @@ int main(int argc, char **argv) source.server, source.port, source.device); #endif - /* initializes the some gpsdata data structure */ + /* initializes the gpsdata fields */ gpsdata.status = STATUS_NO_FIX; gpsdata.satellites_used = 0; gps_clear_fix(&(gpsdata.fix)); |