--- /home/enrico/tmp/src/t/t/gpsbabel/lmx.c	2008-04-04 16:58:21.000000000 +0100
+++ lmx.c	2008-05-28 11:04:02.000000000 +0100
@@ -31,7 +31,7 @@
 
 static gbfile *ofd;
 static waypoint *wpt_tmp;
-char *link, *linkt;
+char *lmx_link, *lmx_linkt;
 
 #define MYNAME "lmx"
 
@@ -205,25 +205,25 @@
 static void
 lmx_lm_mlink_s(const char *args, const char **unused)
 {
-	link = linkt = NULL;
+	lmx_link = lmx_linkt = NULL;
 }
 
 static void
 lmx_lm_link(const char *args, const char **unused)
 {
-	link = xstrdup(args);
+	lmx_link = xstrdup(args);
 }
 
 static void
 lmx_lm_linkt(const char *args, const char **unused)
 {
-	linkt = xstrdup(args);
+	lmx_linkt = xstrdup(args);
 }
 
 static void
 lmx_lm_mlink_e(const char *args, const char **unused)
 {
-	waypt_add_url(wpt_tmp, link, linkt);
+	waypt_add_url(wpt_tmp, lmx_link, lmx_linkt);
 }
 
 
