summaryrefslogtreecommitdiff
path: root/include/my_pthread.h
diff options
context:
space:
mode:
authorunknown <tim@localhost.polyesthetic.msg>2000-08-09 14:47:25 -0400
committerunknown <tim@localhost.polyesthetic.msg>2000-08-09 14:47:25 -0400
commit14ccbc09bb38559d8cf30ae2b5690e1a40617882 (patch)
tree46372917c080f9393ac3b3e0b8f895a7dedba10c /include/my_pthread.h
parent60a4499bae599ddc1c9c92ad4a1294f7b85ae465 (diff)
downloadmariadb-git-14ccbc09bb38559d8cf30ae2b5690e1a40617882.tar.gz
Add const to [my_]sigwait() arg, to make all declarations match.
include/my_pthread.h: - add const to [my_]sigwait() arg mysys/my_pthread.c: - add const to [my_]sigwait() arg
Diffstat (limited to 'include/my_pthread.h')
-rw-r--r--include/my_pthread.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/my_pthread.h b/include/my_pthread.h
index 9c0d6d1b9d9..2a77624b233 100644
--- a/include/my_pthread.h
+++ b/include/my_pthread.h
@@ -169,7 +169,7 @@ void * my_pthread_getspecific_imp(pthread_key_t key);
#define pthread_sigmask(A,B,C) thr_sigsetmask((A),(B),(C))
-extern int my_sigwait(sigset_t *set,int *sig);
+extern int my_sigwait(const sigset_t *set,int *sig);
#define pthread_detach_this_thread() pthread_dummy(0)
@@ -309,7 +309,7 @@ extern int my_pthread_cond_init(pthread_cond_t *mp,
#endif
#if !defined(HAVE_SIGWAIT) && !defined(HAVE_mit_thread) && !defined(HAVE_rts_threads) && !defined(sigwait) && !defined(alpha_linux_port) && !defined(HAVE_NONPOSIX_SIGWAIT) && !defined(HAVE_DEC_3_2_THREADS) && !defined(_AIX)
-int sigwait(sigset_t *setp, int *sigp); /* Use our implemention */
+int sigwait(const sigset_t *setp, int *sigp); /* Use our implemention */
#endif
#if !defined(HAVE_SIGSET) && !defined(HAVE_mit_thread) && !defined(sigset)
#define sigset(A,B) do { struct sigaction s; sigset_t set; \