summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/powerpc
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-06 22:43:22 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-06 22:43:22 +0000
commit77bd38db59de3418d6c1545010a4d40419ba02cd (patch)
tree9ed7a5d7da36f0fa9ae4b1fe0e4747ae4e976318 /libc/sysdeps/linux/powerpc
parent76d80593426f5f77a51dcf694786576a37f3b208 (diff)
update comments/syntax and make sure we include features.h for the hidden define
Diffstat (limited to 'libc/sysdeps/linux/powerpc')
-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 bb998b16a..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 attribute_hidden __syscall_error (int err_no)
+int attribute_hidden __syscall_error(int err_no)
{
- __set_errno (err_no);
+ __set_errno(err_no);
return -1;
}
-