diff options
author | Gary E. Miller <gem@rellim.com> | 2008-01-19 22:54:23 +0000 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2008-01-19 22:54:23 +0000 |
commit | 2f022bcef95228b3a40bee68f0583a7ad2ab25e1 (patch) | |
tree | 51d0a49c68f9da7bfc18bad5a23f74d8a76e5454 /ubx.c | |
parent | 602dbae8d3298eeabeaee926514be53e0d1f9f67 (diff) | |
download | gpsd-2f022bcef95228b3a40bee68f0583a7ad2ab25e1.tar.gz |
'typename' is a reserved word in C++.
Change to 'type_name' so gpsd pieces can be used with C++. Reported
by Matt Roberds <mattroberds@cox.net>.
Diffstat (limited to 'ubx.c')
-rw-r--r-- | ubx.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -406,7 +406,7 @@ static gps_mask_t parse_input(struct gps_device_t *session) /* This is everything we export */ struct gps_type_t ubx_binary = { - .typename = "uBlox UBX", /* Full name of type */ + .type_name = "uBlox UBX", /* Full name of type */ .trigger = NULL, /* Response string that identifies device (not active) */ .channels = 16, /* Number of satellite channels supported by the device */ .probe_detect = NULL, /* Startup-time device detector */ |