Module Name: src
Committed By: joerg
Date: Sun Sep 15 08:11:33 UTC 2013
Modified Files:
src/sys/kern: vfs_wapbl.c
Log Message:
Provide a prototype for wapbl_space_free under _KERNEL.
To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/sys/kern/vfs_wapbl.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/kern/vfs_wapbl.c
diff -u src/sys/kern/vfs_wapbl.c:1.56 src/sys/kern/vfs_wapbl.c:1.57
--- src/sys/kern/vfs_wapbl.c:1.56 Sat Sep 14 13:19:50 2013
+++ src/sys/kern/vfs_wapbl.c Sun Sep 15 08:11:33 2013
@@ -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 struct sysctllog *wapbl_sysctl;
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>