diff options
author | Lennart Poettering <lennart@poettering.net> | 2007-10-07 13:54:15 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2007-10-07 13:54:15 +0000 |
commit | d74fa66f35eda1add73313d60c321f63269b3c56 (patch) | |
tree | 646988e0a47ca0bf35aa1c60fa724b73cb2f18f3 /src/pulsecore/rtclock.h | |
parent | 87cc073653f42c4e5237489fdc43fd4cda7e7144 (diff) |
Fix build; change return value of pa_rtclock_hrtimer() to pa_bool
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1933 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/pulsecore/rtclock.h')
-rw-r--r-- | src/pulsecore/rtclock.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pulsecore/rtclock.h b/src/pulsecore/rtclock.h index 0d232a04..72bbd5e9 100644 --- a/src/pulsecore/rtclock.h +++ b/src/pulsecore/rtclock.h @@ -24,13 +24,15 @@ USA. ***/ +#include <pulsecore/macro.h> + struct timeval; /* Something like pulse/timeval.h but based on CLOCK_MONOTONIC */ struct timeval *pa_rtclock_get(struct timeval *ts); pa_usec_t pa_rtclock_age(const struct timeval *tv); -int pa_rtclock_hrtimer(void); +pa_bool_t pa_rtclock_hrtimer(void); /* timer with a resolution better than this are considered high-resolution */ #define PA_HRTIMER_THRESHOLD_USEC 10 |