summaryrefslogtreecommitdiff
path: root/lib/libpthread/thread/thr_system.c
diff options
context:
space:
mode:
authorDaniel Eischen <deischen@FreeBSD.org>2001-01-24 13:03:38 +0000
committerDaniel Eischen <deischen@FreeBSD.org>2001-01-24 13:03:38 +0000
commite5106342c6de9cbe26c4827e4e29bae309cd8cfb (patch)
tree5199387f09deaa21f12482317c165f815c4e8c2b /lib/libpthread/thread/thr_system.c
parentf9447cd11209a5fb5ecef3f4cbe539e990f3b1bd (diff)
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_system.c')
-rw-r--r--lib/libpthread/thread/thr_system.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libpthread/thread/thr_system.c b/lib/libpthread/thread/thr_system.c
index 47a572df189f..d3a16cb65cd2 100644
--- a/lib/libpthread/thread/thr_system.c
+++ b/lib/libpthread/thread/thr_system.c
@@ -30,12 +30,13 @@
*/
#include <stdlib.h>
-#ifdef _THREAD_SAFE
#include <pthread.h>
#include "pthread_private.h"
+#pragma weak system=_system
+
int
-system(const char *string)
+_system(const char *string)
{
int ret;
@@ -45,4 +46,3 @@ system(const char *string)
return ret;
}
-#endif