From b4599c92642ca98cf955fdb877f6875427479143 Mon Sep 17 00:00:00 2001 From: Philip Guenther Date: Sat, 16 Nov 2013 00:37:12 +0000 Subject: 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 into all the .c files. No more extern function declaration in .c files. ok millert@ --- lib/libkvm/kvm_ntfs.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/libkvm/kvm_ntfs.c') diff --git a/lib/libkvm/kvm_ntfs.c b/lib/libkvm/kvm_ntfs.c index f8530771ec0..90ebb43d4f9 100644 --- a/lib/libkvm/kvm_ntfs.c +++ b/lib/libkvm/kvm_ntfs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kvm_ntfs.c,v 1.3 2013/10/22 16:40:27 guenther Exp $ */ +/* $OpenBSD: kvm_ntfs.c,v 1.4 2013/11/16 00:37:11 guenther Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -45,8 +45,7 @@ #include #include "kvm_private.h" - -extern mode_t _kvm_getftype(enum vtype); +#include "kvm_file.h" int _kvm_stat_ntfs(kvm_t *kd, struct kinfo_file *kf, struct vnode *vp) -- cgit v1.2.3