From 5be28c59c6dca1fd069439c98312b6e80d44a631 Mon Sep 17 00:00:00 2001 From: John Criswell Date: Wed, 10 Dec 2003 15:43:07 +0000 Subject: [PATCH] Removed the pthread_once() function because it doesn't actually do what it's supposed to do. Just leave this library as a dummy library for now until we have time to port a real pthread library (or get glibc working). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10368 91177308-0d34-0410-b5e6-96231b3b80d8 --- runtime/GCCLibraries/libpthread/pthread.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/runtime/GCCLibraries/libpthread/pthread.c b/runtime/GCCLibraries/libpthread/pthread.c index cb5818ccc2f..8b137891791 100644 --- a/runtime/GCCLibraries/libpthread/pthread.c +++ b/runtime/GCCLibraries/libpthread/pthread.c @@ -1,8 +1 @@ -#include - -int -pthread_once (pthread_once_t * control, void (*func) (void)) -{ - return 0; -} -- 2.34.1