diff options
author | Sami Kerola | 2011-07-24 23:18:22 +0200 |
---|---|---|
committer | Sami Kerola | 2011-07-26 17:54:43 +0200 |
commit | 9d413ecb6ec828c141c6e86b026c54127643caa7 (patch) | |
tree | f492c869630b93ad015a023c915081a4cb36dd1f /include/pathnames.h | |
parent | hwclock: use libc error printing functions (diff) | |
download | kernel-qcow2-util-linux-9d413ecb6ec828c141c6e86b026c54127643caa7.tar.gz kernel-qcow2-util-linux-9d413ecb6ec828c141c6e86b026c54127643caa7.tar.xz kernel-qcow2-util-linux-9d413ecb6ec828c141c6e86b026c54127643caa7.zip |
hwclock: move path definitions to pathnames.h
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'include/pathnames.h')
-rw-r--r-- | include/pathnames.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/pathnames.h b/include/pathnames.h index e6e8e77f3..d7d2a14c0 100644 --- a/include/pathnames.h +++ b/include/pathnames.h @@ -126,5 +126,14 @@ #define _PATH_DEV_BYID "/dev/disk/by-id" #define _PATH_DEV_BYPATH "/dev/disk/by-path" +/* hwclock paths */ +#define _PATH_ADJPATH "/etc/adjtime" +#define _PATH_LASTDATE "/var/lib/lastdate" +#ifdef __ia64__ +# define _PATH_RTC_DEV "/dev/efirtc" +#else +# define _PATH_RTC_DEV "/dev/rtc" +#endif + #endif /* PATHNAMES_H */ |