[uClibc-cvs] svn commit: trunk/uClibc/libc/sysdeps/linux: arm mips powerpc

vapier at uclibc.org vapier at uclibc.org
Wed Jul 6 22:43:23 UTC 2005


Author: vapier
Date: 2005-07-06 16:43:22 -0600 (Wed, 06 Jul 2005)
New Revision: 10730

Log:
update comments/syntax and make sure we include features.h for the hidden define

Modified:
   trunk/uClibc/libc/sysdeps/linux/arm/__syscall_error.c
   trunk/uClibc/libc/sysdeps/linux/mips/__syscall_error.c
   trunk/uClibc/libc/sysdeps/linux/powerpc/__syscall_error.c


Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/arm/__syscall_error.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/arm/__syscall_error.c	2005-07-06 22:40:33 UTC (rev 10729)
+++ trunk/uClibc/libc/sysdeps/linux/arm/__syscall_error.c	2005-07-06 22:43:22 UTC (rev 10730)
@@ -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;
 }
-

Modified: trunk/uClibc/libc/sysdeps/linux/mips/__syscall_error.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/mips/__syscall_error.c	2005-07-06 22:40:33 UTC (rev 10729)
+++ trunk/uClibc/libc/sysdeps/linux/mips/__syscall_error.c	2005-07-06 22:43:22 UTC (rev 10730)
@@ -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;
 }
-

Modified: trunk/uClibc/libc/sysdeps/linux/powerpc/__syscall_error.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/powerpc/__syscall_error.c	2005-07-06 22:40:33 UTC (rev 10729)
+++ trunk/uClibc/libc/sysdeps/linux/powerpc/__syscall_error.c	2005-07-06 22:43:22 UTC (rev 10730)
@@ -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;
 }
-




More information about the uClibc-cvs mailing list