diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-01-18 12:10:22 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-01-18 12:10:22 +0000 |
commit | 9f3eba863e386e2c604313c99f1da37d7cfdadea (patch) | |
tree | 77712a460380afd1b9ad450d1e6db359fb619326 /libc/sysdeps/linux/common/getpid.c | |
parent | 56c3fad78406bd5ea1142b755c81feee71b1987e (diff) |
get rid of arch specific checks
Diffstat (limited to 'libc/sysdeps/linux/common/getpid.c')
-rw-r--r-- | libc/sysdeps/linux/common/getpid.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/common/getpid.c b/libc/sysdeps/linux/common/getpid.c index be4c2ad47..d2e5a33e6 100644 --- a/libc/sysdeps/linux/common/getpid.c +++ b/libc/sysdeps/linux/common/getpid.c @@ -2,16 +2,16 @@ /* * getpid() for uClibc * - * Copyright (C) 2000-2004 by Erik Andersen <andersen@codepoet.org> + * Copyright (C) 2000-2006 by Erik Andersen <andersen@codepoet.org> * - * GNU Library General Public License (LGPL) version 2 or later. + * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. */ #include "syscalls.h" #include <unistd.h> -#if defined (__alpha__) -#define __NR_getpid __NR_getxpid +#if defined __NR_getxpid +# define __NR_getpid __NR_getxpid #endif #define __NR___libc_getpid __NR_getpid _syscall0(pid_t, __libc_getpid); |