summaryrefslogblamecommitdiff
path: root/src/thread/__syscall_cp.c
blob: 09a2be84f58395f9d31531fa161d52f44c0f275b (plain) (tree)
1
2
3
4
5
6
7
8
9
                         
                    
 
                                         

                      


                                                                   



                                                 
                                 
 


                                                                      
 
                                                    
 
#include "pthread_impl.h"
#include "syscall.h"

__attribute__((__visibility__("hidden")))
long __syscall_cp_c();

static long sccp(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)(nr, u, v, w, x, y, z);
}

weak_alias(sccp, __syscall_cp_c);

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);
}