diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 19:33:32 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 19:33:32 +0000 |
commit | 8bb05ac73a5b448b339ce0bc8d396c82c459b47f (patch) | |
tree | 1fdda006866bca20d41cb206767ea5241e36852f /sys-utils/hwclock.h | |
parent | Adding debian version 2.39.3-11. (diff) | |
download | util-linux-8bb05ac73a5b448b339ce0bc8d396c82c459b47f.tar.xz util-linux-8bb05ac73a5b448b339ce0bc8d396c82c459b47f.zip |
Merging upstream version 2.40.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | sys-utils/hwclock.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-utils/hwclock.h b/sys-utils/hwclock.h index b5b72d4..91b10a7 100644 --- a/sys-utils/hwclock.h +++ b/sys-utils/hwclock.h @@ -1,3 +1,11 @@ +/* + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + */ #ifndef HWCLOCK_CLOCK_H #define HWCLOCK_CLOCK_H @@ -53,6 +61,8 @@ struct hwclock_control { set:1, update:1, universal:1, /* will store hw_clock_is_utc() return value */ + vl_read:1, + vl_clear:1, verbose:1; }; @@ -88,6 +98,9 @@ extern int get_param_rtc(const struct hwclock_control *ctl, const char *name, uint64_t *id, uint64_t *value); extern int set_param_rtc(const struct hwclock_control *ctl, const char *name); +extern int rtc_vl_read(const struct hwclock_control *ctl); +extern int rtc_vl_clear(const struct hwclock_control *ctl); + extern void __attribute__((__noreturn__)) hwclock_exit(const struct hwclock_control *ctl, int status); |