]> git.ipfire.org Git - thirdparty/util-linux.git/commit
hwclock: fix warning [-Winvalid-noreturn]
authorRuediger Meier <ruediger.meier@ga-group.nl>
Sun, 11 Jun 2017 20:00:49 +0000 (22:00 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 14 Jun 2017 09:48:22 +0000 (11:48 +0200)
commit39ff5b34d3274a02526a1226fdd8845c95bbc823
tree293a8448c1c976ab1b99700a06631ed2d071a6ef
parentb68d953e62bd6132e2e610a264122cc762e979a2
hwclock: fix warning [-Winvalid-noreturn]

clang warned:

 CC       sys-utils/hwclock.o
../sys-utils/hwclock.c:1274:1: warning: function declared 'noreturn' should not return [-Winvalid-noreturn]

We have to move the noreturn attribute from the function definition
to the declaration.

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
sys-utils/hwclock.c
sys-utils/hwclock.h