[klibc] [patch] s390 syscall.c declare err

maximilian attems maks at sternwelten.at
Mon May 8 02:29:27 PDT 2006


commit 	54599b2bfd5e0c66d74c721f0a96acb4822a64d7 removed err declaration
usr/klibc/arch/s390/syscall.c: In function '__syscall_common':
usr/klibc/arch/s390/syscall.c:10: error: parameter name omitted
usr/klibc/arch/s390/syscall.c:12: error: 'err' undeclared (first use in this function)

Signed-off-by: maximilian attems <maks at sternwelten.at>

diff --git a/usr/klibc/arch/s390/syscall.c b/usr/klibc/arch/s390/syscall.c
index 60fab13..e1d201d 100644
--- a/usr/klibc/arch/s390/syscall.c
+++ b/usr/klibc/arch/s390/syscall.c
@@ -7,7 +7,7 @@
  */
 #include <errno.h>
 
-unsigned long __syscall_common(unsigned long)
+unsigned long __syscall_common(unsigned long err)
 {
 	if (err < -4095UL)
 		return err;



More information about the klibc mailing list