summaryrefslogtreecommitdiff
path: root/usr/src/lib/madv
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/madv')
-rw-r--r--usr/src/lib/madv/common/madv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/src/lib/madv/common/madv.c b/usr/src/lib/madv/common/madv.c
index 756825ee34..12a33a19b6 100644
--- a/usr/src/lib/madv/common/madv.c
+++ b/usr/src/lib/madv/common/madv.c
@@ -721,8 +721,8 @@ shmat(int shmid, const void *shmaddr, int shmflag)
/*
* mmap interpose
*/
-caddr_t
-mmap(caddr_t addr, size_t len, int prot, int flags, int fd, off_t pos)
+void *
+mmap(void *addr, size_t len, int prot, int flags, int fd, off_t pos)
{
static caddr_t (*mmapfunc)() = NULL;
caddr_t result;
@@ -774,8 +774,8 @@ mmap(caddr_t addr, size_t len, int prot, int flags, int fd, off_t pos)
/*
* mmap64 interpose
*/
-caddr_t
-mmap64(caddr_t addr, size_t len, int prot, int flags, int fd, off64_t pos)
+void *
+mmap64(void *addr, size_t len, int prot, int flags, int fd, off64_t pos)
{
static caddr_t (*mmap64func)();
caddr_t result;