[Glibc-bsd-commits] r2035 - trunk/glibc-ports/kfreebsd

ps-guest at alioth.debian.org ps-guest at alioth.debian.org
Sat Nov 17 07:20:14 UTC 2007


Author: ps-guest
Date: 2007-11-17 07:20:13 +0000 (Sat, 17 Nov 2007)
New Revision: 2035

Modified:
   trunk/glibc-ports/kfreebsd/brk.c
   trunk/glibc-ports/kfreebsd/semctl.c
   trunk/glibc-ports/kfreebsd/syscalls-inline.h
Log:
* put __syscall() prototype in the right places



Modified: trunk/glibc-ports/kfreebsd/brk.c
===================================================================
--- trunk/glibc-ports/kfreebsd/brk.c	2007-11-17 00:03:44 UTC (rev 2034)
+++ trunk/glibc-ports/kfreebsd/brk.c	2007-11-17 07:20:13 UTC (rev 2035)
@@ -25,6 +25,8 @@
 #define SYS_break SYS_obreak
 #endif
 
+int __syscall(int number, ...);
+
 extern void _end;
 
 /* sbrk.c expects this.  */

Modified: trunk/glibc-ports/kfreebsd/semctl.c
===================================================================
--- trunk/glibc-ports/kfreebsd/semctl.c	2007-11-17 00:03:44 UTC (rev 2034)
+++ trunk/glibc-ports/kfreebsd/semctl.c	2007-11-17 07:20:13 UTC (rev 2035)
@@ -61,6 +61,7 @@
   unsigned short *array;	/* array for GETALL & SETALL */
 };
 
+int __syscall(int number, ...);
 
 int
 semctl (int semid, int semnum, int cmd, ...)

Modified: trunk/glibc-ports/kfreebsd/syscalls-inline.h
===================================================================
--- trunk/glibc-ports/kfreebsd/syscalls-inline.h	2007-11-17 00:03:44 UTC (rev 2034)
+++ trunk/glibc-ports/kfreebsd/syscalls-inline.h	2007-11-17 07:20:13 UTC (rev 2035)
@@ -28,11 +28,6 @@
 struct rusage;
 struct timespec;
 
-#if 0
-int __syscall(int number, ...);
-libc_hidden_proto (__syscall)
-#endif
-
 int __syscall_open(const char *path, int flags, ...);
 int __syscall_close(int fd);
 libc_hidden_proto (__syscall_open)




More information about the Glibc-bsd-commits mailing list