summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/powerpc/__syscall_error.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-07-25 02:29:20 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-07-25 02:29:20 +0000
commitff45f14ea255d442f779157db133d73777675a5c (patch)
treeeafe5f8052f5e3fb0f50c48d3b8fdd371445c302 /libc/sysdeps/linux/powerpc/__syscall_error.c
parent1d2230a7d275706c5f0de850e15527aae3744310 (diff)
downloaduClibc-alpine-ff45f14ea255d442f779157db133d73777675a5c.tar.bz2
uClibc-alpine-ff45f14ea255d442f779157db133d73777675a5c.tar.xz
A merging we will go. A merging we will go. Hi ho the merrio' a merging we will go.
Diffstat (limited to 'libc/sysdeps/linux/powerpc/__syscall_error.c')
-rw-r--r--libc/sysdeps/linux/powerpc/__syscall_error.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/powerpc/__syscall_error.c b/libc/sysdeps/linux/powerpc/__syscall_error.c
index 9ab65ed79..de65a1f39 100644
--- a/libc/sysdeps/linux/powerpc/__syscall_error.c
+++ b/libc/sysdeps/linux/powerpc/__syscall_error.c
@@ -1,4 +1,4 @@
-/* Wrapper around clone system call.
+/* Wrapper for setting errno.
Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
@@ -18,12 +18,12 @@
02111-1307 USA. */
#include <errno.h>
+#include <features.h>
/* This routine is jumped to by all the syscall handlers, to stash
* an error number into errno. */
-int __syscall_error (int err_no)
+int attribute_hidden __syscall_error(int err_no)
{
- __set_errno (err_no);
+ __set_errno(err_no);
return -1;
}
-