summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2015-12-07 18:11:38 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2015-12-07 18:11:38 +0000
commitc6454070d1f1b30c7b349bd1a14bb3c407127f51 (patch)
tree87b963314be0e4c7aa7446a744248253e8edf70a
parentae8356e5b61283f16b042604ce8149734f8193ee (diff)
delete pointless setlocale(3) call;
forgotten to commit, OK deraadt@ some time ago
-rw-r--r--usr.bin/arch/arch.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/usr.bin/arch/arch.c b/usr.bin/arch/arch.c
index e5ae829ba72..94965a42e2f 100644
--- a/usr.bin/arch/arch.c
+++ b/usr.bin/arch/arch.c
@@ -25,7 +25,6 @@
#include <sys/param.h> /* MACHINE MACHINE_ARCH */
-#include <locale.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -42,8 +41,6 @@ main(int argc, char *argv[])
int short_form = 0, c;
char *arch, *opts;
- setlocale(LC_ALL, "");
-
machine = strcmp(__progname, "machine") == 0;
if (machine) {
arch = MACHINE;