summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2004-09-29 16:37:00 +0000
committerEric S. Raymond <esr@thyrsus.com>2004-09-29 16:37:00 +0000
commitb6086d503de79d75571bb5c39297584fc84598e4 (patch)
treec434c41c39827cee708632c6aa796ef0910cdc3c
parent741473de22e4f7c4139b6090805bc57e18f1cf31 (diff)
downloadgpsd-b6086d503de79d75571bb5c39297584fc84598e4.tar.gz
Add FIXME note -- we really shouldn't have any globals.
-rw-r--r--serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/serial.c b/serial.c
index d3c973bd..57e129a5 100644
--- a/serial.c
+++ b/serial.c
@@ -14,6 +14,7 @@
#include "gps.h"
#include "gpsd.h"
+/* FIXME: these shouldn't be globals */
static struct termios ttyset, ttyset_old;
static int set_baud(long baud)
@@ -38,7 +39,6 @@ static int set_baud(long baud)
return speed;
}
-
int gpsd_open(char *device_name, int device_speed, int stopbits)
{
int ttyfd;