summaryrefslogtreecommitdiff
path: root/gps_json.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-03-23 08:44:06 -0400
committerEric S. Raymond <esr@thyrsus.com>2010-03-23 08:44:06 -0400
commit16fd0b73408faef2e06353f2a4a481e2c404ce32 (patch)
treee6c0f99388d145928d63ae58e7aed622fd566fb1 /gps_json.h
parenta3a25b58ba6b252fd55a09eb4c4d25ee8e6dc3bd (diff)
downloadgpsd-16fd0b73408faef2e06353f2a4a481e2c404ce32.tar.gz
Clean up a function signature.
The previous couple of data-management changes pay off again here, we get to simplify the interface of a reporting function. All regression tests pass.
Diffstat (limited to 'gps_json.h')
-rw-r--r--gps_json.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gps_json.h b/gps_json.h
index 8c8489a4..85061300 100644
--- a/gps_json.h
+++ b/gps_json.h
@@ -11,8 +11,7 @@
#define GPS_JSON_RESPONSE_MAX 1024
char *json_stringify(/*@out@*/char *, size_t, /*@in@*/const char *);
-void json_tpv_dump(const struct gps_data_t *, struct gps_fix_t *,
- /*@out@*/char *, size_t);
+void json_tpv_dump(const struct gps_data_t *, /*@out@*/char *, size_t);
void json_sky_dump(const struct gps_data_t *, /*@out@*/char *, size_t);
void json_device_dump(const struct gps_device_t *, /*@out@*/char *, size_t);
void json_watch_dump(const struct policy_t *, /*@out@*/char *, size_t);