X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fthread%2Fclone.c;h=be80c8ea4800d58f50526b842d864bb2e2e0804e;hb=869a9df5b5f7da57ebd86d146e25f78450678eeb;hp=339e28a3fe6fb2b12c41921183dd08c819aa8018;hpb=3f72cdac73030761120cf32aeef44e7d03e2f1fa;p=musl diff --git a/src/thread/clone.c b/src/thread/clone.c index 339e28a3..be80c8ea 100644 --- a/src/thread/clone.c +++ b/src/thread/clone.c @@ -1,10 +1,7 @@ #include -#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);