mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-03 05:20:16 +02:00
Fix build when scm_t_timespec is different from struct timespec
Reported by Roland Haeder. The declaration and definition of scm_pthread_cond_timedwait were using possibly different types for the third arg. * THANKS: Added Roland Haeder. * libguile/threads.h (scm_pthread_cond_timedwait): Use scm_t_timespec for third arg rather than struct timespec, for consistency with the function implementation.
This commit is contained in:
parent
d681856755
commit
94922b177b
3 changed files with 3 additions and 1 deletions
|
@ -205,7 +205,7 @@ SCM_API int scm_pthread_cond_wait (pthread_cond_t *cond,
|
|||
pthread_mutex_t *mutex);
|
||||
SCM_API int scm_pthread_cond_timedwait (pthread_cond_t *cond,
|
||||
pthread_mutex_t *mutex,
|
||||
const struct timespec *abstime);
|
||||
const scm_t_timespec *abstime);
|
||||
#endif
|
||||
|
||||
/* More convenience functions.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue