return (__syscall)(nr, u, v, w, x, y, z);
}
-weak_alias(sccp, __syscall_cp);
+weak_alias(sccp, __syscall_cp_c);
-static void dummy()
+long (__syscall_cp)(syscall_arg_t nr,
+ syscall_arg_t u, syscall_arg_t v, syscall_arg_t w,
+ syscall_arg_t x, syscall_arg_t y, syscall_arg_t z)
{
+ return __syscall_cp_c(nr, u, v, w, x, y, z);
}
-
-weak_alias(dummy, __testcancel);
syscall_arg_t, syscall_arg_t, syscall_arg_t,
syscall_arg_t, syscall_arg_t, syscall_arg_t);
-long (__syscall_cp)(syscall_arg_t nr,
+long __syscall_cp_c(syscall_arg_t nr,
syscall_arg_t u, syscall_arg_t v, syscall_arg_t w,
syscall_arg_t x, syscall_arg_t y, syscall_arg_t z)
{
#include "pthread_impl.h"
+#include "libc.h"
-void __testcancel(void);
+static void dummy()
+{
+}
+
+weak_alias(dummy, __testcancel);
void pthread_testcancel()
{