summaryrefslogtreecommitdiffstats
path: root/sys-utils/hwclock-cmos.c
diff options
context:
space:
mode:
authorKarel Zak2012-07-16 18:43:53 +0200
committerKarel Zak2012-07-16 18:43:53 +0200
commit93f90e13326d86e4600c7f885e7e83fb8a7719af (patch)
tree40101c87ebfc58737385b84352071acf7b0c08bb /sys-utils/hwclock-cmos.c
parenttest_sysinfo: fix compiler warning [-Wmissing-prototypes] (diff)
downloadkernel-qcow2-util-linux-93f90e13326d86e4600c7f885e7e83fb8a7719af.tar.gz
kernel-qcow2-util-linux-93f90e13326d86e4600c7f885e7e83fb8a7719af.tar.xz
kernel-qcow2-util-linux-93f90e13326d86e4600c7f885e7e83fb8a7719af.zip
hwclock: fix compiler warning [-Wmissing-prototypes]
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/hwclock-cmos.c')
-rw-r--r--sys-utils/hwclock-cmos.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-utils/hwclock-cmos.c b/sys-utils/hwclock-cmos.c
index 85452b5c2..61a15a3fb 100644
--- a/sys-utils/hwclock-cmos.c
+++ b/sys-utils/hwclock-cmos.c
@@ -82,12 +82,12 @@ int inb(int c __attribute__ ((__unused__)))
extern unsigned int inb(unsigned long port);
extern void outb(unsigned char b, unsigned long port);
#else
-void outb(int a __attribute__ ((__unused__)),
+static void outb(int a __attribute__ ((__unused__)),
int b __attribute__ ((__unused__)))
{
}
-int inb(int c __attribute__ ((__unused__)))
+static int inb(int c __attribute__ ((__unused__)))
{
return 0;
}