summaryrefslogtreecommitdiffstats
path: root/sys-utils/hwclock-kd.c
Commit message (Collapse)AuthorAgeFilesLines
* hwclock: internationalizing the message of the used interfaceBenno Schulenberg2014-02-101-1/+1
| | | | | | In addition, do it in a single sentence instead of in two fragments. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* include/c.h: prefer nanosleep() over usleep()Karel Zak2014-01-241-1/+1
| | | | | | | | | | | | | | Let's use nanosleep() although if usleep() exists. The nanosleep function does no interact with signals and other timers. The patch introduces xusleep() as replacement to libc (or our fallback) usleep(). Yes, we don't want to use struct timespec + nanosleep() everywhere in code as nano-time resolution is useless for us. The patch also enlarges delays in some busy wait loops. It seems enough to try read/write 4x per second. Signed-off-by: Karel Zak <kzak@redhat.com>
* include/c: move usleep() fallback to c.hKarel Zak2012-10-221-3/+1Star
| | | | | | To make it available everywhere in code. Signed-off-by: Karel Zak <kzak@redhat.com>
* hwclock: fix compiler warning [-Wmissing-prototypes]Karel Zak2012-07-161-2/+1Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: move hwclock to sys-utils/Karel Zak2012-06-261-0/+183
Signed-off-by: Karel Zak <kzak@redhat.com>