]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
setarch: fix compiler warning [-Wmissing-prototypes]
authorKarel Zak <kzak@redhat.com>
Mon, 16 Jul 2012 16:51:27 +0000 (18:51 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 16 Jul 2012 16:51:27 +0000 (18:51 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/setarch.c

index f2315a660ccd26e0dd332657095d8832e23e99d3..d13cdd62135999f5f367a00d0f6a0a761654dde9 100644 (file)
@@ -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;