Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Provide a prototype for wapbl_space_free under _KER...



details:   https://anonhg.NetBSD.org/src/rev/3cab63f59a4d
branches:  trunk
changeset: 790011:3cab63f59a4d
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sun Sep 15 08:11:33 2013 +0000

description:
Provide a prototype for wapbl_space_free under _KERNEL.

diffstat:

 sys/kern/vfs_wapbl.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r a37170107239 -r 3cab63f59a4d sys/kern/vfs_wapbl.c
--- a/sys/kern/vfs_wapbl.c      Sat Sep 14 22:29:08 2013 +0000
+++ b/sys/kern/vfs_wapbl.c      Sun Sep 15 08:11:33 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vfs_wapbl.c,v 1.56 2013/09/14 13:19:50 joerg Exp $     */
+/*     $NetBSD: vfs_wapbl.c,v 1.57 2013/09/15 08:11:33 joerg Exp $     */
 
 /*-
  * Copyright (c) 2003, 2008, 2009 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
 #define WAPBL_INTERNAL
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_wapbl.c,v 1.56 2013/09/14 13:19:50 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_wapbl.c,v 1.57 2013/09/15 08:11:33 joerg Exp $");
 
 #include <sys/param.h>
 #include <sys/bitops.h>
@@ -70,6 +70,8 @@
 static int wapbl_flush_disk_cache = 1;
 static int wapbl_verbose_commit = 0;
 
+static inline size_t wapbl_space_free(size_t, off_t, off_t);
+
 #else /* !_KERNEL */
 #include <assert.h>
 #include <errno.h>



Home | Main Index | Thread Index | Old Index