summaryrefslogtreecommitdiff
path: root/gpsd.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.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.c')
-rw-r--r--gpsd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gpsd.c b/gpsd.c
index 3eaa5936..4175d805 100644
--- a/gpsd.c
+++ b/gpsd.c
@@ -518,10 +518,10 @@ static int passivesocks(char *service, char *tcp_or_udp,
struct subscriber_t
{
- int fd; /* client file descriptor. -1 if unused */
- time_t active; /* when subscriber last polled for data */
- struct policy_t policy; /* configurable bits */
- pthread_mutex_t mutex; /* serialize access to fd */
+ int fd; /* client file descriptor. -1 if unused */
+ time_t active; /* when subscriber last polled for data */
+ struct gps_policy_t policy; /* configurable bits */
+ pthread_mutex_t mutex; /* serialize access to fd */
};
#define subscribed(sub, devp) (sub->policy.watcher && (sub->policy.devpath[0]=='\0' || strcmp(sub->policy.devpath, devp->gpsdata.dev.path)==0))