From: Karel Zak Date: Mon, 16 Jul 2012 16:51:27 +0000 (+0200) Subject: setarch: fix compiler warning [-Wmissing-prototypes] X-Git-Tag: v2.22-rc1~132 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b90f817d83ca45fcbe32bc49ac6d08c0ef858b3;p=thirdparty%2Futil-linux.git setarch: fix compiler warning [-Wmissing-prototypes] Signed-off-by: Karel Zak --- diff --git a/sys-utils/setarch.c b/sys-utils/setarch.c index f2315a660c..d13cdd6213 100644 --- a/sys-utils/setarch.c +++ b/sys-utils/setarch.c @@ -135,7 +135,8 @@ show_version(void) exit(EXIT_SUCCESS); } -int set_arch(const char *pers, unsigned long options) +static int +set_arch(const char *pers, unsigned long options) { struct utsname un; int i;