summaryrefslogtreecommitdiffstats
path: root/sys-utils/setarch.c
diff options
context:
space:
mode:
authorKarel Zak2012-07-16 18:51:27 +0200
committerKarel Zak2012-07-16 18:51:27 +0200
commit5b90f817d83ca45fcbe32bc49ac6d08c0ef858b3 (patch)
treedb2ece1813548cdef28d1fae300981ae72931260 /sys-utils/setarch.c
parentcytune: fix compiler warning [-Wmissing-prototypes] (diff)
downloadkernel-qcow2-util-linux-5b90f817d83ca45fcbe32bc49ac6d08c0ef858b3.tar.gz
kernel-qcow2-util-linux-5b90f817d83ca45fcbe32bc49ac6d08c0ef858b3.tar.xz
kernel-qcow2-util-linux-5b90f817d83ca45fcbe32bc49ac6d08c0ef858b3.zip
setarch: fix compiler warning [-Wmissing-prototypes]
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/setarch.c')
-rw-r--r--sys-utils/setarch.c3
1 files changed, 2 insertions, 1 deletions
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;