diff options
author | Lennart Poettering <lennart@poettering.net> | 2006-04-06 23:31:40 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2006-04-06 23:31:40 +0000 |
commit | 1be00173c134b837ddda2eba77b2d914ce244140 (patch) | |
tree | ed5b1136f3063ff52ef9e4425dc254667bdd0da6 /src/polypcore/util.h | |
parent | e872c751e1bde9dc996d967e32c457d9c8f0f0fc (diff) |
change pa_gettimeofday() to return a pointer to the struct timeval*, instead of an int
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@645 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/polypcore/util.h')
-rw-r--r-- | src/polypcore/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/polypcore/util.h b/src/polypcore/util.h index 424283e7..f05339c4 100644 --- a/src/polypcore/util.h +++ b/src/polypcore/util.h @@ -55,7 +55,7 @@ char *pa_get_home_dir(char *s, size_t l); const char *pa_path_get_filename(const char *p); -int pa_gettimeofday(struct timeval *tv); +struct timeval *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); |