summaryrefslogtreecommitdiff
path: root/ubx.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2008-01-19 22:54:23 +0000
committerGary E. Miller <gem@rellim.com>2008-01-19 22:54:23 +0000
commit2f022bcef95228b3a40bee68f0583a7ad2ab25e1 (patch)
tree51d0a49c68f9da7bfc18bad5a23f74d8a76e5454 /ubx.c
parent602dbae8d3298eeabeaee926514be53e0d1f9f67 (diff)
downloadgpsd-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ubx.c b/ubx.c
index bc21d86c..6c24144a 100644
--- a/ubx.c
+++ b/ubx.c
@@ -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 */