summaryrefslogtreecommitdiff
path: root/libgps_json.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-09-10 07:52:12 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-09-10 07:52:12 +0000
commitdad8b2b68113840c826e43e3857c487498271c85 (patch)
tree6d4ee128c976f402e842b7799d2151ebd19bceb1 /libgps_json.c
parentdbda81f426dc8cc2d2271b5efbe022d50a5f7732 (diff)
downloadgpsd-dad8b2b68113840c826e43e3857c487498271c85.tar.gz
Bride of the Splint Cleanup. All regression tests pass.
Diffstat (limited to 'libgps_json.c')
-rw-r--r--libgps_json.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libgps_json.c b/libgps_json.c
index 608a490b..23928398 100644
--- a/libgps_json.c
+++ b/libgps_json.c
@@ -21,7 +21,7 @@ representations to libgps structures.
static int json_tpv_read(const char *buf,
struct gps_data_t *gpsdata,
- /*@null@*/const char **endptr)
+ /*@out null@*/const char **endptr)
{
int status;
/*@ -fullinitblock @*/
@@ -104,7 +104,7 @@ static int json_tpv_read(const char *buf,
static int json_sky_read(const char *buf,
struct gps_data_t *gpsdata,
- /*@null@*/const char **endptr)
+ /*@out null@*/const char **endptr)
{
bool usedflags[MAXCHANNELS];
/*@ -fullinitblock @*/
@@ -152,7 +152,7 @@ static int json_sky_read(const char *buf,
static int json_devicelist_read(const char *buf,
struct gps_data_t *gpsdata,
- /*@null@*/const char **endptr)
+ /*@out null@*/const char **endptr)
{
/*@ -fullinitblock @*/
const struct json_attr_t json_attrs_subdevices[] = {
@@ -201,7 +201,7 @@ static int json_devicelist_read(const char *buf,
static int json_version_read(const char *buf,
struct gps_data_t *gpsdata,
- /*@null@*/const char **endptr)
+ /*@out null@*/const char **endptr)
{
/*@ -fullinitblock @*/
const struct json_attr_t json_attrs_version[] = {
@@ -228,7 +228,7 @@ static int json_version_read(const char *buf,
static int json_error_read(const char *buf,
struct gps_data_t *gpsdata,
- /*@null@*/const char **endptr)
+ /*@out null@*/const char **endptr)
{
/*@ -fullinitblock @*/
const struct json_attr_t json_attrs_error[] = {