From e91613e46430c7d1459647d33b950a7793899b3f Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 18 Aug 2009 17:05:46 +0000 Subject: Add check-string attributes to JSON parser. Add JSON unit test to default test sequence. --- gps_json.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gps_json.h') diff --git a/gps_json.h b/gps_json.h index 0af21456..de701e05 100644 --- a/gps_json.h +++ b/gps_json.h @@ -21,6 +21,6 @@ int json_watch_read(struct policy_t *, const char *, const char **); void json_watch_dump(struct policy_t *, char *, size_t); int json_configdev_read(struct devconfig_t *, const char *, const char **); void json_configdev_dump(struct gps_device_t *, char *, size_t); -void libgps_json_unpack(char *, struct gps_data_t *); +int libgps_json_unpack(const char *, struct gps_data_t *); /* gps_json.h ends here */ -- cgit v1.2.1