From 41b4feae9aecb9373501b721b2897b1bda14977b Mon Sep 17 00:00:00 2001 From: matt Date: Wed, 27 Feb 2008 19:38:57 +0000 Subject: [PATCH] Convert two inlines from old-style-definitions to ansi. --- sys/uvm/uvm_page.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/sys/uvm/uvm_page.h b/sys/uvm/uvm_page.h index c6e7e88e4f58..cae0b0ca5e7c 100644 --- a/sys/uvm/uvm_page.h +++ b/sys/uvm/uvm_page.h @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_page.h,v 1.51 2008/02/27 14:23:33 ad Exp $ */ +/* $NetBSD: uvm_page.h,v 1.52 2008/02/27 19:38:57 matt Exp $ */ /* * Copyright (c) 1997 Charles D. Cranor and Washington University. @@ -309,9 +309,7 @@ static int vm_physseg_find(paddr_t, int *); * vm_physseg_find: find vm_physseg structure that belongs to a PA */ static __inline int -vm_physseg_find(pframe, offp) - paddr_t pframe; - int *offp; +vm_physseg_find(paddr_t pframe, int *offp) { #if VM_PHYSSEG_MAX == 1 @@ -391,8 +389,7 @@ vm_physseg_find(pframe, offp) * back from an I/O mapping (ugh!). used in some MD code as well. */ static __inline struct vm_page * -PHYS_TO_VM_PAGE(pa) - paddr_t pa; +PHYS_TO_VM_PAGE(paddr_t pa) { paddr_t pf = atop(pa); int off;