summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2015-12-07 18:11:37 +0000
committerschwarze <schwarze@openbsd.org>2015-12-07 18:11:37 +0000
commit8802a2e9db43970fd701b6fdbb30e9c63a74c75e (patch)
tree6411ee4989f713d0b2fc2a6b270c3ef80410cc2d
parentPreviously forgot another /var in the comment (diff)
downloadwireguard-openbsd-8802a2e9db43970fd701b6fdbb30e9c63a74c75e.tar.xz
wireguard-openbsd-8802a2e9db43970fd701b6fdbb30e9c63a74c75e.zip
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;