From bf26acc7ffd6343549166d4a3fcd8bf0b6da5263 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 4 May 2005 18:04:58 +0000 Subject: Dead-code removal. --- garmin.c | 2 -- libgpsd_core.c | 8 -------- 2 files changed, 10 deletions(-) diff --git a/garmin.c b/garmin.c index 07c045d7..1d140aa4 100644 --- a/garmin.c +++ b/garmin.c @@ -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; -- cgit v1.2.1