summaryrefslogtreecommitdiffstats
path: root/sys/vm
diff options
context:
space:
mode:
authorrdivacky <rdivacky@FreeBSD.org>2009-02-24 18:09:31 +0000
committerrdivacky <rdivacky@FreeBSD.org>2009-02-24 18:09:31 +0000
commite5bfcba0804aec97eaffc409174ebf4d4fe91cca (patch)
tree5b25b63fa72c76fa803c05da612b120833bed4dd /sys/vm
parentedb8ebb3d4aa8e53f32e1e24b0fb93b1120361f0 (diff)
downloadFreeBSD-src-e5bfcba0804aec97eaffc409174ebf4d4fe91cca.zip
FreeBSD-src-e5bfcba0804aec97eaffc409174ebf4d4fe91cca.tar.gz
Change the functions to ANSI in those cases where it breaks promotion
to int rule. See ISO C Standard: SS6.7.5.3:15. Approved by: kib (mentor) Reviewed by: warner Tested by: silence on -current
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/vm_pager.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/vm/vm_pager.c b/sys/vm/vm_pager.c
index f03b951..6bb5b3b 100644
--- a/sys/vm/vm_pager.c
+++ b/sys/vm/vm_pager.c
@@ -104,11 +104,8 @@ dead_pager_getpages(obj, ma, count, req)
}
static vm_object_t
-dead_pager_alloc(handle, size, prot, off)
- void *handle;
- vm_ooffset_t size;
- vm_prot_t prot;
- vm_ooffset_t off;
+dead_pager_alloc(void *handle, vm_ooffset_t size, vm_prot_t prot,
+ vm_ooffset_t off)
{
return NULL;
}
OpenPOWER on IntegriCloud