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 cb5818c..8b13789 100644 (file)
@@ -1,8 +1 @@
-#include <pthread.h>
-
-int
-pthread_once (pthread_once_t * control, void (*func) (void))
-{
-  return 0;
-}