summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2015-03-09 03:46:55 -0400
committerEric S. Raymond <esr@thyrsus.com>2015-03-09 03:46:55 -0400
commit6356e668906031af22f9fdf0f0aa6f8a4d7e2f7b (patch)
tree2ace3ba90891f709eff96b7d04e9971de2b4d988
parent7420e763390412bad49f7d6eba85bb7e51963974 (diff)
downloadgpsd-6356e668906031af22f9fdf0f0aa6f8a4d7e2f7b.tar.gz
Since Windows should have full POSIX now, remove WIN32 port cruft.
It wasn't being used, anyway. There's no Windows port yet.
-rw-r--r--compiler.h4
-rw-r--r--libgps_sock.c4
2 files changed, 0 insertions, 8 deletions
diff --git a/compiler.h b/compiler.h
index bca4c9e2..e33a4899 100644
--- a/compiler.h
+++ b/compiler.h
@@ -20,10 +20,6 @@
#define _POSIX_THREAD_SAFE_FUNCTIONS
#endif
-#ifdef _WIN32
-typedef unsigned int speed_t;
-#endif
-
#include "gpsd_config.h" /* is HAVE_STDATOMIC defined? */
/* Macro for declaring function with printf-like arguments. */
diff --git a/libgps_sock.c b/libgps_sock.c
index 919434f2..e36e4ff1 100644
--- a/libgps_sock.c
+++ b/libgps_sock.c
@@ -41,10 +41,6 @@
extern char *strtok_r(char *, const char *, char **);
#endif /* S_SPLINT_S */
-#ifdef _WIN32
-#define strtok_r(s,d,p) strtok_s(s,d,p)
-#endif
-
/*@-matchfields@*/
struct privdata_t
{