summaryrefslogtreecommitdiff
path: root/gpsd.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2007-03-26 15:18:27 +0000
committerEric S. Raymond <esr@thyrsus.com>2007-03-26 15:18:27 +0000
commit94bf2cdf46543eec46c326dfa68a525c4f14a342 (patch)
tree109faa2bee82ca366a0b018be1956a9cdeb42b5c /gpsd.h
parent167df4e203172e6810020531cbf7b1b2e5e8ed8d (diff)
downloadgpsd-94bf2cdf46543eec46c326dfa68a525c4f14a342.tar.gz
First step of a layering fix: move the private ldisc member to gpsd.h.
Diffstat (limited to 'gpsd.h')
-rw-r--r--gpsd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gpsd.h b/gpsd.h
index f04ae6d0..9d68b504 100644
--- a/gpsd.h
+++ b/gpsd.h
@@ -230,6 +230,9 @@ struct gps_device_t {
#endif /* NTPSHM_ENABLE */
double mag_var; /* Magnetic variation in degrees */
bool back_to_nmea; /* back to NMEA on revert? */
+#ifdef NMEADISC
+ int ldisc; /* current line discipline */
+#endif
/*
* The rest of this structure is driver-specific private storage.
* Because the Garmin driver uses a long buffer, you can have