Karel Zak
f6c1168925
hwclock: follow timespec and use long int for nsec
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-05-06 11:56:14 +02:00
Karel Zak
3cb827ad36
hwclock: make tz use more robust [coverity scan]
...
It's probably unnecessary, but let's make it more robust and keep
static analyzers happy.
Signed-off-by: Karel Zak <kzak@redhat.com>
2020-10-01 13:44:44 +02:00
Sami Kerola
8608be7c8c
hwclock: update yacc file
...
$ bison --update sys-utils/hwclock-parse-date.y
sys-utils/hwclock-parse-date.y:287.1-12: warning: deprecated directive:
‘%pure-parser’, use ‘%define api.pure’ [-Wdeprecated]
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2020-02-15 15:24:01 +00:00
Karel Zak
68a2ade7ed
hwclock: add SPDX-License-Identifier(s)
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2019-11-08 11:12:13 +01:00
Karel Zak
8e1b131e0a
build-sys: use parse-date() only for hwclock
...
The parse-date.y is used only for hwclock, let's keep it together.
Note that the file (originally from gnulib) has GPLv3 license, so it's
better to make it obvious that we use it really only for hwclock (also
GPL).
Signed-off-by: Karel Zak <kzak@redhat.com>
2019-11-07 09:02:23 +01:00