diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-08-27 09:27:38 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-08-27 09:27:38 -0400 |
commit | a5834952c150d5b7c7b523e0ce62df0881ad2728 (patch) | |
tree | 249a626a8d7a292372dc2e76ad822c077bd740ab /gpsd.c | |
parent | f9153a028e61d4cdca8c90eec19e11fedb23c59d (diff) | |
download | gpsd-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.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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) { |