summaryrefslogtreecommitdiff
path: root/gpsd.h-tail
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-03-23 07:03:09 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-03-23 07:03:09 -0400
commitb2f59fa8a8d4e7849394e1df32b18a1417442cb7 (patch)
treee092bc9fde1b7f593694cbd9d3df3f78cf079575 /gpsd.h-tail
parent88ffb7667021285da91073f4ad5ae06dc9511599 (diff)
downloadgpsd-b2f59fa8a8d4e7849394e1df32b18a1417442cb7.tar.gz
Revert "Remove a failed experiment."
Diffstat (limited to 'gpsd.h-tail')
-rw-r--r--gpsd.h-tail3
1 files changed, 2 insertions, 1 deletions
diff --git a/gpsd.h-tail b/gpsd.h-tail
index 56cc1708..3e2d18ec 100644
--- a/gpsd.h-tail
+++ b/gpsd.h-tail
@@ -266,13 +266,14 @@ typedef enum {
#define NODATA_IS ((gps_mask_t)(1u<<31)) /* no data read from fd */
#define DATA_IS ~(ONLINE_IS|PACKET_IS|CLEAR_IS|REPORT_IS)
+typedef /*@unsignedintegraltype@*/ unsigned int driver_mask_t;
#define DRIVER_NOFLAGS 0x00000000u
struct gps_type_t {
/* GPS method table, describes how to talk to a particular GPS type */
/*@observer@*/char *type_name;
int packet_type;
- gps_mask_t flags; /* reserved for expansion */
+ driver_mask_t flags; /* reserved for expansion */
/*@observer@*//*@null@*/char *trigger;
int channels;
/*@null@*/bool (*probe_detect)(struct gps_device_t *session);