From df5cd018c34371890eeeb8c930245b9323e8aa25 Mon Sep 17 00:00:00 2001 From: Robert Mustacchi Date: Tue, 18 Jan 2022 00:05:21 +0000 Subject: 14418 mman.h symbol visibility is a mess Reviewed by: Gergő Mihály Doma Reviewed by: Rich Lowe Approved by: Dan McDonald MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- usr/src/lib/madv/common/madv.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'usr/src/lib/madv/common') 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; -- cgit v1.2.3