]> git.ipfire.org Git - thirdparty/util-linux.git/commit
hwclock: improve coding style
authorSami Kerola <kerolasa@iki.fi>
Sun, 24 Jul 2016 21:33:01 +0000 (22:33 +0100)
committerSami Kerola <kerolasa@iki.fi>
Sat, 4 Feb 2017 23:39:38 +0000 (23:39 +0000)
commitbd0786895d584644b47ef7e7ea923cda29e73fa6
treecd07cca3ee59c6430bb93a1cf91bd8bc9063c422
parent85932da89ee633a8666c6f0191edd760bfac2501
hwclock: improve coding style

Make string constants to be symbolical declarations.  Use longer variable
name for rtc and cmos function pointer values.  Exclude code that is
architecture specific with preprocessor directives.  And remove message
duplication.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
include/pathnames.h
sys-utils/hwclock-cmos.c
sys-utils/hwclock-rtc.c