DragonFly BSD
DragonFly submit List (threaded) for 2005-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

lib/libcr/sys/ cleanup


From: kevin kane <kevin.kane@xxxxxxxxx>
Date: Tue, 6 Dec 2005 17:12:16 -0500

1) make function defs ansi


--- ../mmap.c.klk       2005-12-06 17:02:49.000000000 -0500
+++ lib/libcr/sys/mmap.c        2005-12-06 17:00:30.000000000 -0500
@@ -43,13 +43,7 @@
  * is not supplied by GCC 1.X but is supplied by GCC 2.X.
  */
 void *
-mmap(addr, len, prot, flags, fd, offset)
-       void *  addr;
-       size_t  len;
-       int     prot;
-       int     flags;
-       int     fd;
-       off_t   offset;
+mmap(void *addr, size_t len, int prot, int flags, int fd, off_t offset)
 {

        return((void *)(long)__syscall((quad_t)SYS_mmap, addr, len, prot, flags,




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]