summaryrefslogtreecommitdiff
path: root/pthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'pthread.h')
-rw-r--r--pthread.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pthread.h b/pthread.h
index 1497c38..f901459 100644
--- a/pthread.h
+++ b/pthread.h
@@ -656,8 +656,8 @@ enum {
struct pthread_once_t_
{
- volatile int done; /* indicates if user function has been executed or cancelled */
- int started;
+ void * lock;
+ int done; /* indicates if user function has been executed or cancelled */
};