Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Oct 2017 13:53:19 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r324595 - head/sys/vm
Message-ID:  <201710131353.v9DDrJgm019842@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Fri Oct 13 13:53:19 2017
New Revision: 324595
URL: https://svnweb.freebsd.org/changeset/base/324595

Log:
  ANSIfy vm_kern.c
  
  PR:		222673
  Submitted by:	ota@j.email.ne.jp
  MFC after:	1 week

Modified:
  head/sys/vm/vm_kern.c

Modified: head/sys/vm/vm_kern.c
==============================================================================
--- head/sys/vm/vm_kern.c	Fri Oct 13 13:47:55 2017	(r324594)
+++ head/sys/vm/vm_kern.c	Fri Oct 13 13:53:19 2017	(r324595)
@@ -122,8 +122,7 @@ SYSCTL_ULONG(_vm, OID_AUTO, max_kernel_address, CTLFLA
  *	a mapping on demand through vm_fault() will result in a panic. 
  */
 vm_offset_t
-kva_alloc(size)
-	vm_size_t size;
+kva_alloc(vm_size_t size)
 {
 	vm_offset_t addr;
 
@@ -144,9 +143,7 @@ kva_alloc(size)
  *	This routine may not block on kernel maps.
  */
 void
-kva_free(addr, size)
-	vm_offset_t addr;
-	vm_size_t size;
+kva_free(vm_offset_t addr, vm_size_t size)
 {
 
 	size = round_page(size);
@@ -433,9 +430,7 @@ kmem_free(struct vmem *vmem, vm_offset_t addr, vm_size
  *	This routine may block.
  */
 vm_offset_t
-kmap_alloc_wait(map, size)
-	vm_map_t map;
-	vm_size_t size;
+kmap_alloc_wait(vm_map_t map, vm_size_t size)
 {
 	vm_offset_t addr;
 
@@ -473,10 +468,7 @@ kmap_alloc_wait(map, size)
  *	waiting for memory in that map.
  */
 void
-kmap_free_wakeup(map, addr, size)
-	vm_map_t map;
-	vm_offset_t addr;
-	vm_size_t size;
+kmap_free_wakeup(vm_map_t map, vm_offset_t addr, vm_size_t size)
 {
 
 	vm_map_lock(map);
@@ -520,8 +512,7 @@ kmem_init_zero_region(void)
  *	`start' as allocated, and the range between `start' and `end' as free.
  */
 void
-kmem_init(start, end)
-	vm_offset_t start, end;
+kmem_init(vm_offset_t start, vm_offset_t end)
 {
 	vm_map_t m;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710131353.v9DDrJgm019842>