summaryrefslogtreecommitdiff
path: root/lib/libc/sys/mmap.c
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1996-03-25 22:52:23 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1996-03-25 22:52:23 +0000
commit7283308534010ae0729003c8c8c7f75205885079 (patch)
tree70eb31ec8478287460d1f5ec61093a5c3875847c /lib/libc/sys/mmap.c
parent056407260bf2539719751106b53b00fcd4896619 (diff)
Prototype __syscall() correctly
Diffstat (limited to 'lib/libc/sys/mmap.c')
-rw-r--r--lib/libc/sys/mmap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/sys/mmap.c b/lib/libc/sys/mmap.c
index 442f3b1699b..b8ca3788ce9 100644
--- a/lib/libc/sys/mmap.c
+++ b/lib/libc/sys/mmap.c
@@ -58,6 +58,7 @@ mmap(addr, len, prot, flags, fd, offset)
int fd;
off_t offset;
{
+ quad_t __syscall __P((quad_t, ...));
return((caddr_t)(long)__syscall((quad_t)SYS_mmap, addr, len, prot,
flags, fd, 0, offset));