Removed the pthread_once() function because it doesn't actually do
authorJohn Criswell <criswell@uiuc.edu>
Wed, 10 Dec 2003 15:43:07 +0000 (15:43 +0000)
committerJohn Criswell <criswell@uiuc.edu>
Wed, 10 Dec 2003 15:43:07 +0000 (15:43 +0000)
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

index cb5818ccc2fd7642c47edb313ff185684fa65350..8b137891791fe96927ad78e64b0aad7bded08bdc 100644 (file)
@@ -1,8 +1 @@
-#include <pthread.h>
-
-int
-pthread_once (pthread_once_t * control, void (*func) (void))
-{
-  return 0;
-}