summaryrefslogtreecommitdiff
path: root/libguile/threads.h
diff options
context:
space:
mode:
authorNeil Jerram <neil@ossau.uklinux.net>2009-01-23 01:26:16 +0000
committerNeil Jerram <neil@ossau.uklinux.net>2009-01-23 01:26:16 +0000
commitab878b0f8e675a741a7dd56f52638a7cc0419907 (patch)
treee6da13d852eb672fe3d74a3c5884dfb4e35ba8d0 /libguile/threads.h
parentcbee5075d69cb057c4af4c5e24319da90367897f (diff)
downloadguile-ab878b0f8e675a741a7dd56f52638a7cc0419907.tar.gz
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.
Diffstat (limited to 'libguile/threads.h')
-rw-r--r--libguile/threads.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/threads.h b/libguile/threads.h
index 66ddb6aba..e2abf2648 100644
--- a/libguile/threads.h
+++ b/libguile/threads.h
@@ -232,7 +232,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.