summaryrefslogtreecommitdiff
path: root/libgps.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-03-30 16:36:23 -0400
committerEric S. Raymond <esr@thyrsus.com>2013-04-10 22:29:50 -0400
commit70fa71306dc69c97e9fcf9f37c966f4b82d1bdc0 (patch)
tree57d7d10df29fca5703fbc8be52b756cd71b09811 /libgps.h
parent04b138375a5054bef103db567127fa9df7ee5d40 (diff)
downloadgpsd-70fa71306dc69c97e9fcf9f37c966f4b82d1bdc0.tar.gz
punt export_t
Nothing is actually following the convention laid out by this enum, so punt it. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
Diffstat (limited to 'libgps.h')
-rw-r--r--libgps.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/libgps.h b/libgps.h
index c16b6aac..d30353f6 100644
--- a/libgps.h
+++ b/libgps.h
@@ -6,23 +6,6 @@
#ifndef _GPSD_LIBGPS_H_
#define _GPSD_LIBGPS_H_
-/*
- * first member of each kind of privdata structure must be named
- * 'export_type' and must be of this type. It's how we do runtime
- * dispatch to the different transports.
- */
-enum export_t {
-#ifdef SOCKET_EXPORT_ENABLE
- sockets,
-#endif /* SOCKET_EXPORT_ENABLE */
-#ifdef SHM_EXPORT_ENABLE
- shm,
-#endif /* SHM_EXPORT_ENABLE */
-#ifdef DBUS_EXPORT_ENABLE
- dbus,
-#endif /* DBUS_EXPORT_ENABLE */
-};
-
/* values to poke in the gps_fd member if we get it via something special */
#define SHM_PSEUDO_FD -1
#define DBUS_PSEUDO_FD -2