From af7ae8196bdb7fa2f4319b10c316f60323a43b8d Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 28 Sep 2011 03:44:33 -0400 Subject: Avoid a name collision. --- libgps_sock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libgps_sock.c') diff --git a/libgps_sock.c b/libgps_sock.c index 0c2347e4..220dfb62 100644 --- a/libgps_sock.c +++ b/libgps_sock.c @@ -41,7 +41,7 @@ extern char *strtok_r(char *, const char *, char **); struct privdata_t { - enum export_t export; + enum export_t export_type; bool newstyle; /* data buffered from the last read */ ssize_t waiting; @@ -86,7 +86,7 @@ int gps_sock_open(/*@null@*/const char *host, /*@null@*/const char *port, gpsdata->privdata = (void *)malloc(sizeof(struct privdata_t)); if (gpsdata->privdata == NULL) return -1; - PRIVATE(gpsdata)->export = sockets; + PRIVATE(gpsdata)->export_type = sockets; PRIVATE(gpsdata)->newstyle = false; PRIVATE(gpsdata)->waiting = 0; -- cgit v1.2.1