From 94bf2cdf46543eec46c326dfa68a525c4f14a342 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 26 Mar 2007 15:18:27 +0000 Subject: First step of a layering fix: move the private ldisc member to gpsd.h. --- gpsd.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gpsd.h') 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 -- cgit v1.2.1