summaryrefslogtreecommitdiff
path: root/gpsd_json.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-08-19 07:28:28 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-08-19 07:28:28 +0000
commit7ef6c5e9373d1db5645bd9d69b101b9202e3fd8c (patch)
tree329fdfccac67173f6cab15cc00d5e13269026367 /gpsd_json.c
parenta77182a1299a50c1755fbe6d37656f009cd4ba68 (diff)
downloadgpsd-7ef6c5e9373d1db5645bd9d69b101b9202e3fd8c.tar.gz
Hide an argument that doesn't need to be exposed.
Diffstat (limited to 'gpsd_json.c')
-rw-r--r--gpsd_json.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gpsd_json.c b/gpsd_json.c
index 6ad7fbd6..d938a8c7 100644
--- a/gpsd_json.c
+++ b/gpsd_json.c
@@ -209,7 +209,7 @@ int json_watch_read(struct policy_t *ccp,
};
int status;
- status = json_read_object(buf, chanconfig_attrs, 0, endptr);
+ status = json_read_object(buf, chanconfig_attrs, endptr);
if (status == 0) {
if (intcasoc != -1)
ccp->buffer_policy = intcasoc;
@@ -244,7 +244,7 @@ int json_configdev_read(struct devconfig_t *cdp, const char *buf, const char **e
{NULL},
};
- return json_read_object(buf, devconfig_attrs, 0, endptr);
+ return json_read_object(buf, devconfig_attrs, endptr);
}
void json_configdev_dump(struct gps_device_t *devp, char *reply, size_t replylen)