diff options
author | Pierre Ossman <ossman@cendio.se> | 2006-01-05 16:38:09 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2006-01-05 16:38:09 +0000 |
commit | 687e2d7da5d55784bf0769774be7296254a08eba (patch) | |
tree | db91958b67bfcc339d11d88b43036a76e46c296d /polyp/util.h | |
parent | 70710e14d8f8bbab4f1a42db4993f27cb2ca7bc5 (diff) |
Abstract the gettimeofday call into a utility function to ease porting.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/ossman@366 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/util.h')
-rw-r--r-- | polyp/util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/polyp/util.h b/polyp/util.h index 2cfc5f6e..745d8f0f 100644 --- a/polyp/util.h +++ b/polyp/util.h @@ -53,6 +53,7 @@ char *pa_get_home_dir(char *s, size_t l); char *pa_path_get_filename(const char *p); +int pa_gettimeofday(struct timeval *tv); pa_usec_t pa_timeval_diff(const struct timeval *a, const struct timeval *b); int pa_timeval_cmp(const struct timeval *a, const struct timeval *b); pa_usec_t pa_timeval_age(const struct timeval *tv); |