svn commit: trunk/uClibc/libc/sysdeps/linux/common

Mike Frysinger vapier at gentoo.org
Sun Jan 29 20:32:06 UTC 2006


On Sunday 29 January 2006 12:48, Peter S. Mazinger wrote:
> >  #ifdef __NR_arch_prctl
> > -_syscall2(int, arch_prctl, int, cod, unsigned long, addr);
> > +extern int arch_prctl(int code, unsigned long addr);
> > +_syscall2(int, arch_prctl, int, code, unsigned long, addr);
> >  #endif
>
> if this is the same as prctl(), then better
> #include <sys/prctl.h>
> extern __typeof(prctl) arch_prctl;

wont work because the prototype uses ... at the end of it
-mike



More information about the uClibc mailing list