diff options
author | alfred <alfred@FreeBSD.org> | 2002-03-19 22:20:14 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-03-19 22:20:14 +0000 |
commit | 1446d094292532062a83b8dc4587f9b62a6120df (patch) | |
tree | cf7078f9ddebb58cb7cd55dcd736f1f25c75ac7f /sys/vm/swap_pager.c | |
parent | c147e70b997febc0da8565eecf0dabede1ba5f88 (diff) | |
download | FreeBSD-src-1446d094292532062a83b8dc4587f9b62a6120df.zip FreeBSD-src-1446d094292532062a83b8dc4587f9b62a6120df.tar.gz |
Remove __P.
Diffstat (limited to 'sys/vm/swap_pager.c')
-rw-r--r-- | sys/vm/swap_pager.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/sys/vm/swap_pager.c b/sys/vm/swap_pager.c index 7b9c49a..a6552d9 100644 --- a/sys/vm/swap_pager.c +++ b/sys/vm/swap_pager.c @@ -156,13 +156,13 @@ vm_zone_t swap_zone; * (see vm/swap_pager.h). */ static vm_object_t - swap_pager_alloc __P((void *handle, vm_ooffset_t size, - vm_prot_t prot, vm_ooffset_t offset)); -static void swap_pager_dealloc __P((vm_object_t object)); -static int swap_pager_getpages __P((vm_object_t, vm_page_t *, int, int)); -static void swap_pager_init __P((void)); -static void swap_pager_unswapped __P((vm_page_t)); -static void swap_pager_strategy __P((vm_object_t, struct bio *)); + swap_pager_alloc(void *handle, vm_ooffset_t size, + vm_prot_t prot, vm_ooffset_t offset); +static void swap_pager_dealloc(vm_object_t object); +static int swap_pager_getpages(vm_object_t, vm_page_t *, int, int); +static void swap_pager_init(void); +static void swap_pager_unswapped(vm_page_t); +static void swap_pager_strategy(vm_object_t, struct bio *); struct pagerops swappagerops = { swap_pager_init, /* early system initialization of pager */ @@ -194,23 +194,23 @@ int nswap_hiwat = 512; /* in pages, swap_pager_almost_full warn */ SYSCTL_INT(_vm, OID_AUTO, dmmax, CTLFLAG_RD, &dmmax, 0, "Maximum size of a swap block"); -static __inline void swp_sizecheck __P((void)); -static void swp_pager_sync_iodone __P((struct buf *bp)); -static void swp_pager_async_iodone __P((struct buf *bp)); +static __inline void swp_sizecheck(void); +static void swp_pager_sync_iodone(struct buf *bp); +static void swp_pager_async_iodone(struct buf *bp); /* * Swap bitmap functions */ -static __inline void swp_pager_freeswapspace __P((daddr_t blk, int npages)); -static __inline daddr_t swp_pager_getswapspace __P((int npages)); +static __inline void swp_pager_freeswapspace(daddr_t blk, int npages); +static __inline daddr_t swp_pager_getswapspace(int npages); /* * Metadata functions */ -static void swp_pager_meta_build __P((vm_object_t, vm_pindex_t, daddr_t)); -static void swp_pager_meta_free __P((vm_object_t, vm_pindex_t, daddr_t)); -static void swp_pager_meta_free_all __P((vm_object_t)); -static daddr_t swp_pager_meta_ctl __P((vm_object_t, vm_pindex_t, int)); +static void swp_pager_meta_build(vm_object_t, vm_pindex_t, daddr_t); +static void swp_pager_meta_free(vm_object_t, vm_pindex_t, daddr_t); +static void swp_pager_meta_free_all(vm_object_t); +static daddr_t swp_pager_meta_ctl(vm_object_t, vm_pindex_t, int); /* * SWP_SIZECHECK() - update swap_pager_full indication |