svn commit: trunk/uClibc/libc/misc: dirent sysvipc

psm at uclibc.org psm at uclibc.org
Thu Nov 3 21:08:34 UTC 2005


Author: psm
Date: 2005-11-03 13:08:31 -0800 (Thu, 03 Nov 2005)
New Revision: 12133

Log:
Correct _getdents[64] and __syscall_ipc

Modified:
   trunk/uClibc/libc/misc/dirent/dirstream.h
   trunk/uClibc/libc/misc/sysvipc/ipc.h


Changeset:
Modified: trunk/uClibc/libc/misc/dirent/dirstream.h
===================================================================
--- trunk/uClibc/libc/misc/dirent/dirstream.h	2005-11-03 21:02:42 UTC (rev 12132)
+++ trunk/uClibc/libc/misc/dirent/dirstream.h	2005-11-03 21:08:31 UTC (rev 12133)
@@ -71,9 +71,9 @@
 };				/* stream data from opendir() */
 
 
-extern int __getdents(unsigned int fd, struct dirent *dirp, unsigned int count);
+extern ssize_t __getdents(int fd, char *buf, size_t count);
 #ifdef __UCLIBC_HAS_LFS__
-extern int __getdents64 (unsigned int fd, struct dirent64 *dirp, unsigned int count);
+extern ssize_t __getdents64 (int fd, char *buf, size_t count);
 #endif
 
 #endif /* dirent.h  */

Modified: trunk/uClibc/libc/misc/sysvipc/ipc.h
===================================================================
--- trunk/uClibc/libc/misc/sysvipc/ipc.h	2005-11-03 21:02:42 UTC (rev 12132)
+++ trunk/uClibc/libc/misc/sysvipc/ipc.h	2005-11-03 21:08:31 UTC (rev 12133)
@@ -7,7 +7,7 @@
 #ifdef __NR_ipc
 
 /* The actual system call: all functions are multiplexed by this.  */
-extern int __syscall_ipc __P((int __call, int __first, int __second,
+extern int __syscall_ipc __P((unsigned int __call, int __first, int __second,
 					  int __third, void *__ptr));
 
 




More information about the uClibc-cvs mailing list