libc: fix declaration: use size_t instead of vm_size_t
authorSimon Schubert <corecode@dragonflybsd.org>
Thu, 20 Aug 2009 10:51:27 +0000 (12:51 +0200)
committerSimon Schubert <corecode@dragonflybsd.org>
Thu, 20 Aug 2009 10:51:57 +0000 (12:51 +0200)
lib/libc/stdlib/nmalloc.c

index e6bb2b0..739d738 100644 (file)
@@ -1135,7 +1135,7 @@ _vmem_alloc(size_t size, size_t align, int flags)
  *     Free a chunk of memory allocated with _vmem_alloc()
  */
 static void
-_vmem_free(void *ptr, vm_size_t size)
+_vmem_free(void *ptr, size_t size)
 {
        munmap(ptr, size);
 }