fix debugger tracking of shared libraries on mips with PIE main program
[musl] / src / thread / clone.c
index 339e28a..be80c8e 100644 (file)
@@ -1,10 +1,7 @@
 #include <errno.h>
-#include "libc.h"
+#include "pthread_impl.h"
 
 int __clone(int (*func)(void *), void *stack, int flags, void *arg, ...)
 {
-       errno = ENOSYS;
-       return -1;
+       return -ENOSYS;
 }
-
-weak_alias(__clone, clone);