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
This commit is contained in:
Lennart Poettering 2006-04-06 23:31:40 +00:00
parent e872c751e1
commit 1be00173c1
2 changed files with 18 additions and 16 deletions

View file

@ -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);