summaryrefslogtreecommitdiff
path: root/gpsd.h-tail
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-11-19 18:27:39 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-11-19 18:27:39 +0000
commitae05e4c5872a63a3ff47bcb22471f034e9f992de (patch)
treef2f43301885ac9f91fd1ed89ac8a8a36413b2992 /gpsd.h-tail
parentb4598e9256cf3729aa2e07905aa1f0f81d20967c (diff)
downloadgpsd-ae05e4c5872a63a3ff47bcb22471f034e9f992de.tar.gz
Resolve an OS X linkage problem.
Diffstat (limited to 'gpsd.h-tail')
-rw-r--r--gpsd.h-tail2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsd.h-tail b/gpsd.h-tail
index 02d8c71a..95b2d9f4 100644
--- a/gpsd.h-tail
+++ b/gpsd.h-tail
@@ -140,7 +140,7 @@ struct classmap_t {
int packetmask;
};
#define CLASSMAP_NITEMS 5
-struct classmap_t classmap[CLASSMAP_NITEMS];
+extern struct classmap_t classmap[CLASSMAP_NITEMS];
#define NTPSHMSEGS 4 /* number of NTP SHM segments */