summaryrefslogtreecommitdiff
path: root/lib/libkvm/kvm_udf.c
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2013-11-16 00:37:12 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2013-11-16 00:37:12 +0000
commitb4599c92642ca98cf955fdb877f6875427479143 (patch)
tree4ff55b4ce42011e8d073ce9aa97325686cd33467 /lib/libkvm/kvm_udf.c
parent5d2377e4dc12d6196c4d8806f8a8aae07591d18c (diff)
Prep for hidden visibility: move the vnode/file related function
declarations, including _kvm_getftype(), into a new header, kvm_file.h, so that we don't have to pull <sys/vnode.h> into all the .c files. No more extern function declaration in .c files. ok millert@
Diffstat (limited to 'lib/libkvm/kvm_udf.c')
-rw-r--r--lib/libkvm/kvm_udf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libkvm/kvm_udf.c b/lib/libkvm/kvm_udf.c
index 3907ebc5c13..94ce9b9c427 100644
--- a/lib/libkvm/kvm_udf.c
+++ b/lib/libkvm/kvm_udf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm_udf.c,v 1.6 2013/10/22 16:40:27 guenther Exp $ */
+/* $OpenBSD: kvm_udf.c,v 1.7 2013/11/16 00:37:11 guenther Exp $ */
/*
* Copyright (c) 2001, 2002 Scott Long <scottl@freebsd.org>
@@ -44,6 +44,7 @@
#include <db.h>
#include "kvm_private.h"
+#include "kvm_file.h"
/* Convert file entry permission (5 bits per owner/group/user) to a mode_t */
static mode_t