diff options
Diffstat (limited to 'libc/sysdeps/linux/cris/fork.c')
-rw-r--r-- | libc/sysdeps/linux/cris/fork.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/cris/fork.c b/libc/sysdeps/linux/cris/fork.c index 4dd8e0269..20b546901 100644 --- a/libc/sysdeps/linux/cris/fork.c +++ b/libc/sysdeps/linux/cris/fork.c @@ -1,4 +1,10 @@ -#include <sysdep.h> +/* + * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org> + * + * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. + */ + +#include "sysdep.h" #define __NR___libc_fork __NR_fork SYSCALL__ (__libc_fork, 0) @@ -8,4 +14,6 @@ SYSCALL__ (__libc_fork, 0) R0&-1==R0, and the child gets R0&0==0. */ /* i dunno what the blurb above is useful for. we just return. */ __asm__("ret\n\tnop"); -weak_alias(__libc_fork, fork) +libc_hidden_proto(fork) +weak_alias(__libc_fork,fork) +libc_hidden_weak(fork) |