summaryrefslogtreecommitdiff
path: root/gpsd.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-08-27 09:27:38 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-08-27 09:27:38 -0400
commita5834952c150d5b7c7b523e0ce62df0881ad2728 (patch)
tree249a626a8d7a292372dc2e76ad822c077bd740ab /gpsd.c
parentf9153a028e61d4cdca8c90eec19e11fedb23c59d (diff)
downloadgpsd-a5834952c150d5b7c7b523e0ce62df0881ad2728.tar.gz
No need to use setlocale(NUMERIC) any more, so lose the code overhead.
All regression tests pass.
Diffstat (limited to 'gpsd.c')
-rw-r--r--gpsd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gpsd.c b/gpsd.c
index d003c667..f78704af 100644
--- a/gpsd.c
+++ b/gpsd.c
@@ -24,7 +24,6 @@
#include <syslog.h>
#include <errno.h>
#include <fcntl.h>
-#include <locale.h>
#include <pthread.h>
#ifndef S_SPLINT_S
#include <netdb.h>
@@ -1784,7 +1783,6 @@ int main(int argc, char *argv[])
/*@+nullpass@*/
#endif /* PPS_ENABLE */
- (void)setlocale(LC_NUMERIC, "C");
context.debug = 0;
gps_context_init(&context);
while ((option = getopt(argc, argv, "F:D:S:bGhlNnP:V")) != -1) {