diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-08-09 05:55:16 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-08-09 05:55:16 +0000 |
commit | 3dfe29ec75a1adfe9f05e8437ff8b67f309d4acd (patch) | |
tree | 2f6590386d1c091a8ee72cce290c0798f82f974c /libc/sysdeps/linux/mips/__syscall_error.c | |
parent | 75f9a2b1874f3c50727c6b91fd5b5735a2a5deb3 (diff) | |
download | uClibc-alpine-3dfe29ec75a1adfe9f05e8437ff8b67f309d4acd.tar.bz2 uClibc-alpine-3dfe29ec75a1adfe9f05e8437ff8b67f309d4acd.tar.xz |
Compile cleanups for NPTL support.
Diffstat (limited to 'libc/sysdeps/linux/mips/__syscall_error.c')
-rw-r--r-- | libc/sysdeps/linux/mips/__syscall_error.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; |