From ed37579c6aa8eaa1edf62ac84269055edfc0139b Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 9 May 2014 14:31:34 +0000 Subject: thread_*.c: constify * thread_{pthread,win32}.c (native_cond_timedwait): constify. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- thread_pthread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'thread_pthread.c') diff --git a/thread_pthread.c b/thread_pthread.c index 581dfecaaa..c0411318a1 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -338,7 +338,7 @@ native_cond_wait(rb_nativethread_cond_t *cond, pthread_mutex_t *mutex) } static int -native_cond_timedwait(rb_nativethread_cond_t *cond, pthread_mutex_t *mutex, struct timespec *ts) +native_cond_timedwait(rb_nativethread_cond_t *cond, pthread_mutex_t *mutex, const struct timespec *ts) { int r; -- cgit v1.2.3