Commit Graph

9 Commits

Author SHA1 Message Date
Hiltjo Posthuma 7e394bd70f code-style: cleanup
- move main() at the bottom.
- put global variables at the top.
- improve usage() lines (consistent with man page).
2015-02-06 15:16:24 +00:00
sin 6f7f387352 Stop using EXIT_{SUCCESS,FAILURE} 2014-10-02 23:47:39 +01:00
sin 86060b535c Fix includes across all tools 2014-06-30 19:04:47 +01:00
sin 88c61c17e8 Check some more ioctl() calls for errors 2014-06-28 11:29:15 +01:00
sin 8216a97519 Print a warning for -w to let the user know that we are assuming UTC 2014-06-03 16:29:22 +01:00
sin 5bbc67aa96 Allow to specify the rtc devnode for hwclock(8) 2014-06-03 16:09:20 +01:00
sin 5836145a5c Implement -s support for hwclock(8)
Rename some functions as well.
2014-06-03 15:58:08 +01:00
sin e3d7ffa05c Use rtc_time 2014-06-03 15:15:21 +01:00
sin dacfb76c75 Add initial version of hwclock(8) 2014-06-03 14:52:14 +01:00