From owner-cvs-lib Tue Dec 30 17:28:08 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA16329 for cvs-lib-outgoing; Tue, 30 Dec 1997 17:28:08 -0800 (PST) (envelope-from owner-cvs-lib) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA16200; Tue, 30 Dec 1997 17:26:39 -0800 (PST) (envelope-from alex@FreeBSD.org) From: Alex Nash Received: (from alex@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id RAA19407; Tue, 30 Dec 1997 17:22:03 -0800 (PST) Date: Tue, 30 Dec 1997 17:22:03 -0800 (PST) Message-Id: <199712310122.RAA19407@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/lib/libc/sys madvise.2 mincore.2 minherit.2 mlock.2 mmap.2 mmap.c mprotect.2 msync.2 munmap.2 src/sys/sys mman.h types.h Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk alex 1997/12/30 17:22:03 PST Modified files: lib/libc/sys madvise.2 mincore.2 minherit.2 mlock.2 mmap.2 mmap.c mprotect.2 msync.2 munmap.2 sys/sys mman.h types.h Log: Convert caddr_t --> void * for sys/mman.h functions. mlock, mmap, mprotect, msync, munlock, and munmap are defined by POSIX as taking void *. The const modifier has been added to mlock, munlock, and mprotect as the standard dictates. minherit comes from OpenBSD and has been updated to conform with their recent change to void *. madvise and mincore are not defined by POSIX, but their arguments have been modified to be consistent with the POSIX-defined functions. mincore takes a const pointer, but madvise does not due to the MADV_FREE case. Discussed with: bde Revision Changes Path 1.12 +2 -2 src/lib/libc/sys/madvise.2 1.10 +2 -2 src/lib/libc/sys/mincore.2 1.5 +2 -2 src/lib/libc/sys/minherit.2 1.3 +2 -2 src/lib/libc/sys/mlock.2 1.14 +2 -2 src/lib/libc/sys/mmap.2 1.2 +3 -3 src/lib/libc/sys/mmap.c 1.7 +1 -1 src/lib/libc/sys/mprotect.2 1.10 +1 -1 src/lib/libc/sys/msync.2 1.8 +1 -1 src/lib/libc/sys/munmap.2 1.20 +11 -11 src/sys/sys/mman.h 1.22 +2 -2 src/sys/sys/types.h