summaryrefslogtreecommitdiff
path: root/libgps_sock.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-09-30 06:39:54 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-09-30 06:39:54 -0400
commit88cf39a24114fc9eb27fbfdda20303f5e6d9a0d9 (patch)
treeefaf6294c445e7bb36989bf51af2b672df949537 /libgps_sock.c
parent34f69cc5d21caffe643a7faa9c045979a40cc792 (diff)
downloadgpsd-88cf39a24114fc9eb27fbfdda20303f5e6d9a0d9.tar.gz
splint cleanup.
Diffstat (limited to 'libgps_sock.c')
-rw-r--r--libgps_sock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libgps_sock.c b/libgps_sock.c
index eee2b926..7a34a75b 100644
--- a/libgps_sock.c
+++ b/libgps_sock.c
@@ -39,6 +39,7 @@
extern char *strtok_r(char *, const char *, char **);
#endif /* S_SPLINT_S */
+/*@-matchfields@*/
struct privdata_t
{
bool newstyle;
@@ -49,6 +50,7 @@ struct privdata_t
int waitcount;
#endif /* LIBGPS_DEBUG */
};
+/*@+matchfields@*/
#define PRIVATE(gpsdata) ((struct privdata_t *)gpsdata->privdata)
/*@-branchstate@*/