summaryrefslogtreecommitdiff
path: root/gpsd_json.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2018-07-26 12:52:58 -0700
committerGary E. Miller <gem@rellim.com>2018-07-26 12:52:58 -0700
commit25edf0e836200ee4f6cf86fa4456635ee210484f (patch)
tree27b0909c19a9fc19c7b13052f6ab479df0f75ba2 /gpsd_json.c
parent75f90d6aa743cec68afa545ad1d5bcb539a79d93 (diff)
downloadgpsd-25edf0e836200ee4f6cf86fa4456635ee210484f.tar.gz
Savannah issue #53671: policy_t -> gps_policy_t.
This is to prevent a conflict with Boost version 1.67. No functional change.
Diffstat (limited to 'gpsd_json.c')
-rw-r--r--gpsd_json.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gpsd_json.c b/gpsd_json.c
index e5390866..6b4c610e 100644
--- a/gpsd_json.c
+++ b/gpsd_json.c
@@ -138,7 +138,7 @@ void json_version_dump( char *reply, size_t replylen)
void json_tpv_dump(const struct gps_device_t *session,
- const struct policy_t *policy CONDITIONALLY_UNUSED,
+ const struct gps_policy_t *policy CONDITIONALLY_UNUSED,
char *reply, size_t replylen)
{
const struct gps_data_t *gpsdata = &session->gpsdata;
@@ -407,7 +407,7 @@ void json_device_dump(const struct gps_device_t *device,
(void)strlcat(reply, "}\r\n", replylen);
}
-void json_watch_dump(const struct policy_t *ccp,
+void json_watch_dump(const struct gps_policy_t *ccp,
char *reply, size_t replylen)
{
(void)snprintf(reply, replylen,
@@ -3432,7 +3432,7 @@ void json_oscillator_dump(const struct gps_data_t *datap,
void json_data_report(const gps_mask_t changed,
const struct gps_device_t *session,
- const struct policy_t *policy,
+ const struct gps_policy_t *policy,
char *buf, size_t buflen)
/* report a session state in JSON */
{