diff options
author | Gary E. Miller <gem@rellim.com> | 2018-07-26 12:52:58 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2018-07-26 12:52:58 -0700 |
commit | 25edf0e836200ee4f6cf86fa4456635ee210484f (patch) | |
tree | 27b0909c19a9fc19c7b13052f6ab479df0f75ba2 /gpsd.c | |
parent | 75f90d6aa743cec68afa545ad1d5bcb539a79d93 (diff) | |
download | gpsd-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.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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)) |