From 3dfe29ec75a1adfe9f05e8437ff8b67f309d4acd Mon Sep 17 00:00:00 2001 From: "\"Steven J. Hill\"" Date: Tue, 9 Aug 2005 05:55:16 +0000 Subject: Compile cleanups for NPTL support. --- libc/sysdeps/linux/mips/__syscall_error.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libc/sysdeps/linux/mips/__syscall_error.c') diff --git a/libc/sysdeps/linux/mips/__syscall_error.c b/libc/sysdeps/linux/mips/__syscall_error.c index de65a1f39..05dcacc8b 100644 --- a/libc/sysdeps/linux/mips/__syscall_error.c +++ b/libc/sysdeps/linux/mips/__syscall_error.c @@ -22,7 +22,11 @@ /* This routine is jumped to by all the syscall handlers, to stash * an error number into errno. */ +#ifdef __PTHREADS_NATIVE__ +int __syscall_error(int err_no) +#else int attribute_hidden __syscall_error(int err_no) +#endif { __set_errno(err_no); return -1; -- cgit v1.2.3