summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dietlibc/libpthread/pthread_cond_destroy.c
diff options
context:
space:
mode:
authorMystery Man <unknown@mandriva.org>2002-07-18 17:04:07 +0000
committerMystery Man <unknown@mandriva.org>2002-07-18 17:04:07 +0000
commit427da37597ce1818756dbe3e2482135886fa80ca (patch)
tree560d65515b02387e636d045df233e641aabf5c24 /mdk-stage1/dietlibc/libpthread/pthread_cond_destroy.c
parent53b3ee0964e09fa0a1ebf1f721485388afd8fa20 (diff)
downloaddrakx-427da37597ce1818756dbe3e2482135886fa80ca.tar
drakx-427da37597ce1818756dbe3e2482135886fa80ca.tar.gz
drakx-427da37597ce1818756dbe3e2482135886fa80ca.tar.bz2
drakx-427da37597ce1818756dbe3e2482135886fa80ca.tar.xz
drakx-427da37597ce1818756dbe3e2482135886fa80ca.zip
This commit was manufactured by cvs2svn to create tag 'V1_1_8_7mdk'.V1_1_8_7mdk
Diffstat (limited to 'mdk-stage1/dietlibc/libpthread/pthread_cond_destroy.c')
-rw-r--r--mdk-stage1/dietlibc/libpthread/pthread_cond_destroy.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/mdk-stage1/dietlibc/libpthread/pthread_cond_destroy.c b/mdk-stage1/dietlibc/libpthread/pthread_cond_destroy.c
deleted file mode 100644
index 9a6cc4f0b..000000000
--- a/mdk-stage1/dietlibc/libpthread/pthread_cond_destroy.c
+++ /dev/null
@@ -1,19 +0,0 @@
-#include <unistd.h>
-#include <errno.h>
-
-#include <pthread.h>
-#include "thread_internal.h"
-
-int pthread_cond_destroy(pthread_cond_t *cond)
-{
- __THREAD_INIT();
-
- if (cond->wait_chain) {
- (*__errno_location())=EBUSY;
- return 1;
- }
-
- memset(cond,0,sizeof(pthread_cond_t));
- return 0;
-}
-