diff options
-rw-r--r-- | usr.bin/locale/locale.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.bin/locale/locale.c b/usr.bin/locale/locale.c index 46c74819ec6..781cdf064f2 100644 --- a/usr.bin/locale/locale.c +++ b/usr.bin/locale/locale.c @@ -1,4 +1,4 @@ -/* $OpenBSD: locale.c,v 1.6 2013/07/01 00:39:14 fgsch Exp $ */ +/* $OpenBSD: locale.c,v 1.7 2013/11/13 20:44:21 deraadt Exp $ */ /* * Copyright (c) 2013 Stefan Sperling <stsp@openbsd.org> * @@ -35,7 +35,7 @@ struct category_name { { 0, NULL}, }; -void +static void put_assignment(const char *name, const char *value, int double_quoted) { char c; @@ -62,8 +62,8 @@ put_assignment(const char *name, const char *value, int double_quoted) putchar('\n'); } -void -show_current_locale() +static void +show_current_locale(void) { char *lang, *lc_all; int i; @@ -260,7 +260,7 @@ const char * const some_locales[] = { NULL }; -void +static void show_locales(void) { int i = 0; @@ -269,7 +269,7 @@ show_locales(void) puts(some_locales[i++]); } -void +static void show_charsets(void) { char *charset; @@ -284,7 +284,7 @@ show_charsets(void) } while (charset); } -void +static void usage(void) { fprintf(stderr, "usage: %s [-a | -m]\n", __progname); |