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

Peter S. Mazinger ps.m at gmx.net
Sun Jan 29 17:48:23 UTC 2006


On Sun, 29 Jan 2006 vapier at uclibc.org wrote:

> Author: vapier
> Date: 2006-01-29 08:30:49 -0800 (Sun, 29 Jan 2006)
> New Revision: 13682
> 
> Log:
> create local prototype
> 
> Modified:
>    trunk/uClibc/libc/sysdeps/linux/common/arch_prctl.c
> 
> 
> Changeset:
> Modified: trunk/uClibc/libc/sysdeps/linux/common/arch_prctl.c
> ===================================================================
> --- trunk/uClibc/libc/sysdeps/linux/common/arch_prctl.c	2006-01-29 16:30:14 UTC (rev 13681)
> +++ trunk/uClibc/libc/sysdeps/linux/common/arch_prctl.c	2006-01-29 16:30:49 UTC (rev 13682)
> @@ -10,5 +10,6 @@
>  #include "syscalls.h"
>  
>  #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;

Peter

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2




More information about the uClibc mailing list