summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/mmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/mmap.c')
-rw-r--r--lib/libc/sys/mmap.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/libc/sys/mmap.c b/lib/libc/sys/mmap.c
index 09d2691639e..eb51fb70f62 100644
--- a/lib/libc/sys/mmap.c
+++ b/lib/libc/sys/mmap.c
@@ -28,7 +28,7 @@
*/
#if defined(SYSLIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: mmap.c,v 1.11 2003/06/02 20:18:39 millert Exp $";
+static char rcsid[] = "$OpenBSD: mmap.c,v 1.12 2003/06/11 21:03:10 deraadt Exp $";
#endif /* SYSLIBC_SCCS and not lint */
#include <sys/types.h>
@@ -44,13 +44,7 @@ quad_t __syscall(quad_t, ...);
* 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,