summaryrefslogtreecommitdiff
path: root/gpsd.h-tail
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-07-27 15:05:16 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-07-27 15:05:16 +0000
commit13864a22bd69c6700863ee0fe71980db67c0b1e4 (patch)
tree2a010dd7e3be9445c6e034af1f49a906d0477bc4 /gpsd.h-tail
parentbf26fdd5e9e1440173dff91f3589630515f866dc (diff)
downloadgpsd-13864a22bd69c6700863ee0fe71980db67c0b1e4.tar.gz
More separation of channel objects from subscriber and device objects.
Diffstat (limited to 'gpsd.h-tail')
-rw-r--r--gpsd.h-tail6
1 files changed, 3 insertions, 3 deletions
diff --git a/gpsd.h-tail b/gpsd.h-tail
index 5eb94a09..e6fcf345 100644
--- a/gpsd.h-tail
+++ b/gpsd.h-tail
@@ -386,9 +386,9 @@ struct gps_device_t {
#define MAXSUBSCRIBERS FD_SETSIZE
#endif
#define sub_index(s) (int)(s - subscribers)
-#define allocated_channel(chp) ((chp)->gpsdata.gps_device[0] != '\0')
-#define free_channel(chp) (chp)->gpsdata.gps_device[0] = '\0'
-#define initialized_channel(chp) ((chp)->context != NULL)
+#define allocated_device(chp) ((chp)->gpsdata.gps_device[0] != '\0')
+#define free_device(chp) (chp)->gpsdata.gps_device[0] = '\0'
+#define initialized_device(chp) ((chp)->context != NULL)
/* here are the available GPS drivers */