diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2005-05-04 18:04:58 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2005-05-04 18:04:58 +0000 |
commit | bf26acc7ffd6343549166d4a3fcd8bf0b6da5263 (patch) | |
tree | 62edb3c5d9f5b49bcfd2a5cd1e86b54a01d90876 | |
parent | df79fa206394a368aeb00909f671d8a911b0370e (diff) | |
download | gpsd-release-2.23.tar.gz |
Dead-code removal.release-2.23
-rw-r--r-- | garmin.c | 2 | ||||
-rw-r--r-- | libgpsd_core.c | 8 |
2 files changed, 0 insertions, 10 deletions
@@ -587,12 +587,10 @@ static int garmin_probe(struct gps_device_t *session) Packet_t *thePacket = NULL; char *buffer = NULL; - char str_buf[256]; fd_set fds, rfds; struct timeval tv; int sel_ret = 0; int ok = 0; - FILE *fp; int i; /* check for USB serial drivers -- very Linux-specific */ diff --git a/libgpsd_core.c b/libgpsd_core.c index 7b1819b3..2dccb953 100644 --- a/libgpsd_core.c +++ b/libgpsd_core.c @@ -40,14 +40,6 @@ int gpsd_open_dgps(char *dgpsserver) return dsock; } -void gpsd_root_probe(struct gps_context_t *context) -/* probes that have to be excuted while daemon is still root */ -{ - FILE *fp; - char str_buf[BUFSIZ]; - -} - int gpsd_switch_driver(struct gps_device_t *session, char* typename) { struct gps_type_t **dp; |