Date: Mon, 25 Aug 1997 15:15:33 -0700 (PDT) From: Bruce Evans <bde@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 Message-ID: <199708252215.PAA01044@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708252215.PAA01044>