diff options
Diffstat (limited to 'libgps_json.c')
-rw-r--r-- | libgps_json.c | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/libgps_json.c b/libgps_json.c index f57e72db..608a490b 100644 --- a/libgps_json.c +++ b/libgps_json.c @@ -20,7 +20,8 @@ representations to libgps structures. #include "gps_json.h" static int json_tpv_read(const char *buf, - struct gps_data_t *gpsdata, const char **endptr) + struct gps_data_t *gpsdata, + /*@null@*/const char **endptr) { int status; /*@ -fullinitblock @*/ @@ -102,7 +103,8 @@ static int json_tpv_read(const char *buf, } static int json_sky_read(const char *buf, - struct gps_data_t *gpsdata, const char **endptr) + struct gps_data_t *gpsdata, + /*@null@*/const char **endptr) { bool usedflags[MAXCHANNELS]; /*@ -fullinitblock @*/ @@ -149,7 +151,8 @@ static int json_sky_read(const char *buf, } static int json_devicelist_read(const char *buf, - struct gps_data_t *gpsdata, const char **endptr) + struct gps_data_t *gpsdata, + /*@null@*/const char **endptr) { /*@ -fullinitblock @*/ const struct json_attr_t json_attrs_subdevices[] = { @@ -197,7 +200,8 @@ static int json_devicelist_read(const char *buf, } static int json_version_read(const char *buf, - struct gps_data_t *gpsdata, const char **endptr) + struct gps_data_t *gpsdata, + /*@null@*/const char **endptr) { /*@ -fullinitblock @*/ const struct json_attr_t json_attrs_version[] = { @@ -223,7 +227,8 @@ static int json_version_read(const char *buf, } static int json_error_read(const char *buf, - struct gps_data_t *gpsdata, const char **endptr) + struct gps_data_t *gpsdata, + /*@null@*/const char **endptr) { /*@ -fullinitblock @*/ const struct json_attr_t json_attrs_error[] = { |