summaryrefslogtreecommitdiffstats
path: root/hwclock/clock.h
diff options
context:
space:
mode:
authorKarel Zak2008-08-12 13:58:51 +0200
committerKarel Zak2008-08-13 11:43:59 +0200
commit982a4a5d98c7034004ec04bff7faea6e1dfcf131 (patch)
tree2325a4dffb5518397868159468bbdd32cfcefbdc /hwclock/clock.h
parenthwclock: use carefully synchronize_to_clock_tick() return codes (diff)
downloadkernel-qcow2-util-linux-982a4a5d98c7034004ec04bff7faea6e1dfcf131.tar.gz
kernel-qcow2-util-linux-982a4a5d98c7034004ec04bff7faea6e1dfcf131.tar.xz
kernel-qcow2-util-linux-982a4a5d98c7034004ec04bff7faea6e1dfcf131.zip
hwclock: use time limit for synchronization busy wait
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'hwclock/clock.h')
-rw-r--r--hwclock/clock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hwclock/clock.h b/hwclock/clock.h
index 6e8a9b4ca..cbdf99917 100644
--- a/hwclock/clock.h
+++ b/hwclock/clock.h
@@ -33,6 +33,7 @@ extern void outsyserr(char *msg, ...)
#else
;
#endif
+extern double time_diff(struct timeval subtrahend, struct timeval subtractor);
/* cmos.c */
extern void set_cmos_epoch(int ARCconsole, int SRM);
extern void set_cmos_access(int Jensen, int funky_toy);