diff options
author | Jon Schlueter <jon.schlueter@gmail.com> | 2011-03-01 05:50:02 -0500 |
---|---|---|
committer | Jon Schlueter <jon.schlueter@gmail.com> | 2011-03-03 05:23:52 -0500 |
commit | f8c5496016271d4f49ae7cce833be415b05960f8 (patch) | |
tree | 5f8d75976430e372f004c0b70f6baf01a313533b /libgps_core.c | |
parent | 4787f68f82525f190cd4a0e6a552967ccb655e06 (diff) | |
download | gpsd-f8c5496016271d4f49ae7cce833be415b05960f8.tar.gz |
warning hunting const char * in libgps_core.c
Diffstat (limited to 'libgps_core.c')
-rw-r--r-- | libgps_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgps_core.c b/libgps_core.c index 8a95f409..ab1a3020 100644 --- a/libgps_core.c +++ b/libgps_core.c @@ -160,8 +160,8 @@ int gps_close(struct gps_data_t *gpsdata) #ifdef LIBGPS_DEBUG static void libgps_dump_state(struct gps_data_t *collect) { - char *status_values[] = { "NO_FIX", "FIX", "DGPS_FIX" }; - char *mode_values[] = { "", "NO_FIX", "MODE_2D", "MODE_3D" }; + const char *status_values[] = { "NO_FIX", "FIX", "DGPS_FIX" }; + const char *mode_values[] = { "", "NO_FIX", "MODE_2D", "MODE_3D" }; /* no need to dump the entire state, this is a sanity check */ #ifndef USE_QT |