diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-07-24 00:12:48 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-07-24 00:12:48 +0000 |
commit | e1d37f2fc2a2999821f536cf44fdfc2f9cef105d (patch) | |
tree | fbbe48d9bd38bf006d581b42cfbe1b273899f1d4 /libexec | |
parent | 3d4ce9a137e9150f9ee332186ac7e12b2986b553 (diff) |
make _dl_mmap() return void * like others
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/ld.so/sparc64/archdep.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/ld.so/sparc64/archdep.h b/libexec/ld.so/sparc64/archdep.h index 756e7f07f56..8e3c1b19d36 100644 --- a/libexec/ld.so/sparc64/archdep.h +++ b/libexec/ld.so/sparc64/archdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: archdep.h,v 1.9 2002/07/12 20:18:30 drahn Exp $ */ +/* $OpenBSD: archdep.h,v 1.10 2002/07/24 00:12:47 deraadt Exp $ */ /* * Copyright (c) 1998 Per Fogelstrom, Opsycon AB @@ -49,11 +49,11 @@ #include "syscall.h" #include "util.h" -static inline long +static inline void * _dl_mmap(void *addr, unsigned int len, unsigned int prot, unsigned int flags, int fd, off_t offset) { - return(_dl__syscall((quad_t)SYS_mmap, addr, len, prot, + return((void *)_dl__syscall((quad_t)SYS_mmap, addr, len, prot, flags, fd, 0, offset)); } |