summaryrefslogtreecommitdiff
path: root/gpsd.h-tail
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2014-08-24 10:45:17 -0400
committerEric S. Raymond <esr@thyrsus.com>2014-08-24 10:49:32 -0400
commit628782fc1508b7e4ffd4649990fa3a14ae707c54 (patch)
tree8cee0412955e7a94987d0de40c08d9d83c8e3683 /gpsd.h-tail
parent1433efcba69fef54ed6d75b480ae222332ccb989 (diff)
downloadgpsd-628782fc1508b7e4ffd4649990fa3a14ae707c54.tar.gz
Eliminate the tag field entirely, even internally.
All regression tests pass.
Diffstat (limited to 'gpsd.h-tail')
-rw-r--r--gpsd.h-tail3
1 files changed, 1 insertions, 2 deletions
diff --git a/gpsd.h-tail b/gpsd.h-tail
index 1e7ccd89..1e5cab71 100644
--- a/gpsd.h-tail
+++ b/gpsd.h-tail
@@ -101,7 +101,6 @@ typedef unsigned int speed_t;
*/
#define NMEA_MAX 91 /* max length of NMEA sentence */
#define NMEA_BIG_BUF (2*NMEA_MAX+1) /* longer than longest NMEA sentence */
-#define MAXTAGLEN 8 /* max length of sentence tag name */
/* a few bits of ISGPS magic */
enum isgpsstat_t {
@@ -451,7 +450,6 @@ struct gps_device_t {
sourcetype_t sourcetype;
servicetype_t servicetype;
int mode;
- char tag[MAXTAGLEN+1]; /* tag of last sentence processed */
#ifndef _WIN32
struct termios ttyset, ttyset_old;
#endif
@@ -561,6 +559,7 @@ struct gps_device_t {
#define UBLOX 0x08 /* u-blox firmware with packet 0x62 */
unsigned long satcounter;
unsigned int time_seen;
+ char lastid; /* ID with last timestamp seen */
#define TIME_SEEN_UTC_2 0x08 /* Seen UTC time variant 2? */
/* fields from Navigation Parameters message */
bool nav_parameters_seen; /* have we seen one? */