summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJohn Criswell <criswell@uiuc.edu>2003-12-10 15:43:07 +0000
committerJohn Criswell <criswell@uiuc.edu>2003-12-10 15:43:07 +0000
commit5be28c59c6dca1fd069439c98312b6e80d44a631 (patch)
tree996ef505e3aaeef72b1d5961f0778d0d9e78309f /runtime
parent381bf79ae17a77fedb902b87aea7e55be9b793aa (diff)
downloadllvm-5be28c59c6dca1fd069439c98312b6e80d44a631.tar.gz
llvm-5be28c59c6dca1fd069439c98312b6e80d44a631.tar.bz2
llvm-5be28c59c6dca1fd069439c98312b6e80d44a631.tar.xz
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
Diffstat (limited to 'runtime')
-rw-r--r--runtime/GCCLibraries/libpthread/pthread.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/runtime/GCCLibraries/libpthread/pthread.c b/runtime/GCCLibraries/libpthread/pthread.c
index cb5818ccc2..8b13789179 100644
--- a/runtime/GCCLibraries/libpthread/pthread.c
+++ b/runtime/GCCLibraries/libpthread/pthread.c
@@ -1,8 +1 @@
-#include <pthread.h>
-
-int
-pthread_once (pthread_once_t * control, void (*func) (void))
-{
- return 0;
-}