OSDN Git Service

update comments/syntax and make sure we include features.h for the hidden define
authorMike Frysinger <vapier@gentoo.org>
Wed, 6 Jul 2005 22:43:22 +0000 (22:43 -0000)
committerMike Frysinger <vapier@gentoo.org>
Wed, 6 Jul 2005 22:43:22 +0000 (22:43 -0000)
libc/sysdeps/linux/arm/__syscall_error.c
libc/sysdeps/linux/mips/__syscall_error.c
libc/sysdeps/linux/powerpc/__syscall_error.c

index bb998b1..de65a1f 100644 (file)
@@ -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.
 
    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;
 }
-
index bb998b1..de65a1f 100644 (file)
@@ -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.
 
    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;
 }
-
index bb998b1..de65a1f 100644 (file)
@@ -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.
 
    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;
 }
-