[uClibc-cvs] uClibc/libc/sysdeps/linux/common mmap64.c,1.6,1.7

Erik Andersen andersen at uclibc.org
Fri Jun 27 20:26:21 UTC 2003


Update of /var/cvs/uClibc/libc/sysdeps/linux/common
In directory winder:/tmp/cvs-serv31276/libc/sysdeps/linux/common

Modified Files:
	mmap64.c 
Log Message:
Fix a couple of typos


Index: mmap64.c
===================================================================
RCS file: /var/cvs/uClibc/libc/sysdeps/linux/common/mmap64.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- mmap64.c	27 Jun 2003 08:22:45 -0000	1.6
+++ mmap64.c	27 Jun 2003 20:26:18 -0000	1.7
@@ -67,7 +67,7 @@
 
 #define __NR___syscall_mmap2	    __NR_mmap2
 static inline _syscall6(__ptr_t, __syscall_mmap2, __ptr_t, addr, 
-	size_t len, int, prot, int, flags, int, fd, off_t, offset);
+	size_t, len, int, prot, int, flags, int, fd, off_t, offset);
 
 /* This is always 12, even on architectures where PAGE_SHIFT != 12.  */
 # ifndef MMAP2_PAGE_SHIFT
@@ -76,7 +76,6 @@
 
 __ptr_t mmap64(__ptr_t addr, size_t len, int prot, int flags, int fd, __off64_t offset)
 {
-    void *result;
     if (offset & ((1 << MMAP2_PAGE_SHIFT) - 1)) {
 	__set_errno (EINVAL);
 	return MAP_FAILED;



More information about the uClibc-cvs mailing list