From: John Criswell Date: Wed, 10 Dec 2003 15:43:07 +0000 (+0000) Subject: Removed the pthread_once() function because it doesn't actually do X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=5be28c59c6dca1fd069439c98312b6e80d44a631;p=oota-llvm.git 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 --- 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; -}