svn commit: branches/uClibc-nptl/libc/sysdeps/linux/common

sjhill at uclibc.org sjhill at uclibc.org
Sun Feb 5 05:50:12 UTC 2006


Author: sjhill
Date: 2006-02-04 21:50:11 -0800 (Sat, 04 Feb 2006)
New Revision: 13851

Log:
Clean up warnings and cruft.


Modified:
   branches/uClibc-nptl/libc/sysdeps/linux/common/getdents.c
   branches/uClibc-nptl/libc/sysdeps/linux/common/getdents64.c
   branches/uClibc-nptl/libc/sysdeps/linux/common/syscalls.h
   branches/uClibc-nptl/libc/sysdeps/linux/common/write.c


Changeset:
Modified: branches/uClibc-nptl/libc/sysdeps/linux/common/getdents.c
===================================================================
--- branches/uClibc-nptl/libc/sysdeps/linux/common/getdents.c	2006-02-05 05:46:07 UTC (rev 13850)
+++ branches/uClibc-nptl/libc/sysdeps/linux/common/getdents.c	2006-02-05 05:50:11 UTC (rev 13851)
@@ -61,7 +61,7 @@
     dp = (struct dirent *) buf;
     skdp = kdp = alloca (red_nbytes);
 
-    retval = __syscall_getdents(fd, (char *)kdp, red_nbytes);
+    retval = __syscall_getdents(fd, (unsigned char *)kdp, red_nbytes);
     if (retval == -1)
 	return -1;
 

Modified: branches/uClibc-nptl/libc/sysdeps/linux/common/getdents64.c
===================================================================
--- branches/uClibc-nptl/libc/sysdeps/linux/common/getdents64.c	2006-02-05 05:46:07 UTC (rev 13850)
+++ branches/uClibc-nptl/libc/sysdeps/linux/common/getdents64.c	2006-02-05 05:50:11 UTC (rev 13851)
@@ -66,7 +66,7 @@
     dp = (struct dirent64 *) buf;
     skdp = kdp = alloca (red_nbytes);
 
-    retval = __syscall_getdents64(fd, (char *)kdp, red_nbytes);
+    retval = __syscall_getdents64(fd, (unsigned char *)kdp, red_nbytes);
     if (retval == -1)
 	return -1;
 

Modified: branches/uClibc-nptl/libc/sysdeps/linux/common/syscalls.h
===================================================================
--- branches/uClibc-nptl/libc/sysdeps/linux/common/syscalls.h	2006-02-05 05:46:07 UTC (rev 13850)
+++ branches/uClibc-nptl/libc/sysdeps/linux/common/syscalls.h	2006-02-05 05:50:11 UTC (rev 13851)
@@ -21,7 +21,6 @@
  */
 
 #define _GNU_SOURCE
-#define _LARGEFILE64_SOURCE
 #include <features.h>
 #include <errno.h>
 #include <sys/types.h>

Modified: branches/uClibc-nptl/libc/sysdeps/linux/common/write.c
===================================================================
--- branches/uClibc-nptl/libc/sysdeps/linux/common/write.c	2006-02-05 05:46:07 UTC (rev 13850)
+++ branches/uClibc-nptl/libc/sysdeps/linux/common/write.c	2006-02-05 05:50:11 UTC (rev 13851)
@@ -14,8 +14,3 @@
 attribute_hidden _syscall3(ssize_t, __write, int, fd, const __ptr_t, buf, size_t, count);
 strong_alias(__write,write)
 weak_alias(__write,__libc_write)
-#if 0
-/* Stupid libgcc.a from gcc 2.95.x uses __write in pure.o
- * which is a blatent GNU libc-ism... */
-weak_alias(__libc_write, __write)
-#endif




More information about the uClibc-cvs mailing list