From 5b90f817d83ca45fcbe32bc49ac6d08c0ef858b3 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 16 Jul 2012 18:51:27 +0200 Subject: setarch: fix compiler warning [-Wmissing-prototypes] Signed-off-by: Karel Zak --- sys-utils/setarch.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys-utils/setarch.c b/sys-utils/setarch.c index f2315a660..d13cdd621 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; -- cgit v1.2.3-55-g7522