From owner-cvs-sys Mon Aug 25 15:17:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA15175 for cvs-sys-outgoing; Mon, 25 Aug 1997 15:17:03 -0700 (PDT) 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 PAA15145; Mon, 25 Aug 1997 15:16:15 -0700 (PDT) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id PAA01044; Mon, 25 Aug 1997 15:15:33 -0700 (PDT) Date: Mon, 25 Aug 1997 15:15:33 -0700 (PDT) Message-Id: <199708252215.PAA01044@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/ibcs2 imgact_coff.c src/sys/vm default_pager.c device_pager.c swap_pager.c vm_fault.c vm_map.c vm_mmap.c vm_pager.c vnode_pager.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1997/08/25 15:15:33 PDT Modified files: sys/i386/ibcs2 imgact_coff.c sys/vm default_pager.c device_pager.c swap_pager.c vm_fault.c vm_map.c vm_mmap.c vm_pager.c vnode_pager.c Log: Fixed type mismatches for functions with args of type vm_prot_t and/or vm_inherit_t. These types are smaller than ints, so the prototypes should have used the promoted type (int) to match the old-style function definitions. They use just vm_prot_t and/or vm_inherit_t. This depends on gcc features to work. I fixed the definitions since this is easiest. The correct fix may be to change the small types to u_int, to optimize for time instead of space. Revision Changes Path 1.26 +3 -8 src/sys/i386/ibcs2/imgact_coff.c 1.12 +3 -6 src/sys/vm/default_pager.c 1.26 +2 -6 src/sys/vm/device_pager.c 1.76 +3 -6 src/sys/vm/swap_pager.c 1.70 +2 -6 src/sys/vm/vm_fault.c 1.88 +23 -46 src/sys/vm/vm_map.c 1.66 +5 -9 src/sys/vm/vm_mmap.c 1.28 +3 -7 src/sys/vm/vm_pager.c 1.73 +3 -6 src/sys/vm/vnode_pager.c