summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_creat.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread/thread/thr_creat.c')
-rw-r--r--lib/libpthread/thread/thr_creat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libpthread/thread/thr_creat.c b/lib/libpthread/thread/thr_creat.c
index bba8ec3..478e037 100644
--- a/lib/libpthread/thread/thr_creat.c
+++ b/lib/libpthread/thread/thr_creat.c
@@ -33,6 +33,8 @@
#include <pthread.h>
#include "thr_private.h"
+extern int __creat(const char *, mode_t);
+
__weak_reference(___creat, creat);
int
OpenPOWER on IntegriCloud