]> git.ipfire.org Git - thirdparty/util-linux.git/commit
hwclock: fix iopl implicit declaration warning on alpha
authorAndreas Henriksson <andreas@fatal.se>
Fri, 21 Aug 2015 14:13:29 +0000 (16:13 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 24 Aug 2015 08:55:44 +0000 (10:55 +0200)
commit3baf5ac739aa2710d68c1567ff80d5d93cc4812d
tree72dd94924cc2c3ded99dc19dd3b3bf90ae1ea054
parentec3d3e67d9a08533232b3ac4e07a37482a05edea
hwclock: fix iopl implicit declaration warning on alpha

Build warning:
sys-utils/hwclock-cmos.c: In function 'i386_iopl':
sys-utils/hwclock-cmos.c:611:9: warning: implicit declaration of function 'iopl' [-Wimplicit-function-declaration]
  return iopl(level);
         ^
sys-utils/hwclock-cmos.c:611:2: warning: nested extern declaration of 'iopl' [-Wnested-externs]
  return iopl(level);
  ^

Also:
checking sys/io.h usability... yes
checking sys/io.h presence... yes
checking for sys/io.h... yes

Full build log:
https://buildd.debian.org/status/fetch.php?pkg=util-linux&arch=alpha&ver=2.26.2-9&stamp=1440078034

Detected by/via:
https://qa.debian.org/bls/packages/u/util-linux.html

Please note that this has never been (build-)tested, but should hopefully
resolve the warning.

Signed-off-by: Andreas Henriksson <andreas@fatal.se>
sys-utils/hwclock-cmos.c