aboutsummaryrefslogtreecommitdiff
path: root/util-linux/hwclock.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/hwclock.c')
-rw-r--r--util-linux/hwclock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/hwclock.c b/util-linux/hwclock.c
index 2fe57b2fc..3d7f40026 100644
--- a/util-linux/hwclock.c
+++ b/util-linux/hwclock.c
@@ -37,7 +37,7 @@ struct linux_rtc_time {
37#define RTC_SET_TIME _IOW('p', 0x0a, struct linux_rtc_time) /* Set RTC time */ 37#define RTC_SET_TIME _IOW('p', 0x0a, struct linux_rtc_time) /* Set RTC time */
38#define RTC_RD_TIME _IOR('p', 0x09, struct linux_rtc_time) /* Read RTC time */ 38#define RTC_RD_TIME _IOR('p', 0x09, struct linux_rtc_time) /* Read RTC time */
39 39
40#ifdef CONFIG_FEATURE_HWCLOCK_LONGOPTIONS 40#if ENABLE_FEATURE_HWCLOCK_LONG_OPTIONS
41# ifndef _GNU_SOURCE 41# ifndef _GNU_SOURCE
42# define _GNU_SOURCE 42# define _GNU_SOURCE
43# endif 43# endif
@@ -186,7 +186,7 @@ int hwclock_main ( int argc, char **argv )
186 unsigned long opt; 186 unsigned long opt;
187 int utc; 187 int utc;
188 188
189#ifdef CONFIG_FEATURE_HWCLOCK_LONGOPTIONS 189#if ENABLE_FEATURE_HWCLOCK_LONG_OPTIONS
190static const struct option hwclock_long_options[] = { 190static const struct option hwclock_long_options[] = {
191 { "localtime", 0, 0, 'l' }, 191 { "localtime", 0, 0, 'l' },
192 { "utc", 0, 0, 'u' }, 192 { "utc", 0, 0, 'u' },