From c34d8f0bcba1b27b5bc7b9967dd8482e970a8811 Mon Sep 17 00:00:00 2001 From: jb Date: Sat, 4 Apr 1998 10:58:12 +0000 Subject: [PATCH] Rename static initializer defines for opaque structures so that the POSIX specified names can be declared in pthread.h. --- lib/libc_r/uthread/pthread_private.h | 4 ++-- lib/libkse/thread/thr_private.h | 4 ++-- lib/libpthread/thread/thr_private.h | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/libc_r/uthread/pthread_private.h b/lib/libc_r/uthread/pthread_private.h index e4b377a00c6a..dc36d8da53f0 100644 --- a/lib/libc_r/uthread/pthread_private.h +++ b/lib/libc_r/uthread/pthread_private.h @@ -108,7 +108,7 @@ struct pthread_mutex { /* * Static mutex initialization values. */ -#define PTHREAD_MUTEX_INITIALIZER \ +#define PTHREAD_MUTEX_STATIC_INITIALIZER \ { MUTEX_TYPE_FAST, PTHREAD_QUEUE_INITIALIZER, \ NULL, { NULL }, MUTEX_FLAGS_INITED } @@ -147,7 +147,7 @@ struct pthread_cond_attr { /* * Static cond initialization values. */ -#define PTHREAD_COND_INITIALIZER \ +#define PTHREAD_COND_STATIC_INITIALIZER \ { COND_TYPE_FAST, PTHREAD_QUEUE_INITIALIZER, NULL, COND_FLAGS_INITED } /* diff --git a/lib/libkse/thread/thr_private.h b/lib/libkse/thread/thr_private.h index e4b377a00c6a..dc36d8da53f0 100644 --- a/lib/libkse/thread/thr_private.h +++ b/lib/libkse/thread/thr_private.h @@ -108,7 +108,7 @@ struct pthread_mutex { /* * Static mutex initialization values. */ -#define PTHREAD_MUTEX_INITIALIZER \ +#define PTHREAD_MUTEX_STATIC_INITIALIZER \ { MUTEX_TYPE_FAST, PTHREAD_QUEUE_INITIALIZER, \ NULL, { NULL }, MUTEX_FLAGS_INITED } @@ -147,7 +147,7 @@ struct pthread_cond_attr { /* * Static cond initialization values. */ -#define PTHREAD_COND_INITIALIZER \ +#define PTHREAD_COND_STATIC_INITIALIZER \ { COND_TYPE_FAST, PTHREAD_QUEUE_INITIALIZER, NULL, COND_FLAGS_INITED } /* diff --git a/lib/libpthread/thread/thr_private.h b/lib/libpthread/thread/thr_private.h index e4b377a00c6a..dc36d8da53f0 100644 --- a/lib/libpthread/thread/thr_private.h +++ b/lib/libpthread/thread/thr_private.h @@ -108,7 +108,7 @@ struct pthread_mutex { /* * Static mutex initialization values. */ -#define PTHREAD_MUTEX_INITIALIZER \ +#define PTHREAD_MUTEX_STATIC_INITIALIZER \ { MUTEX_TYPE_FAST, PTHREAD_QUEUE_INITIALIZER, \ NULL, { NULL }, MUTEX_FLAGS_INITED } @@ -147,7 +147,7 @@ struct pthread_cond_attr { /* * Static cond initialization values. */ -#define PTHREAD_COND_INITIALIZER \ +#define PTHREAD_COND_STATIC_INITIALIZER \ { COND_TYPE_FAST, PTHREAD_QUEUE_INITIALIZER, NULL, COND_FLAGS_INITED } /*