summaryrefslogtreecommitdiff
path: root/lib/libkvm/kvm_private.h
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2013-11-17 20:27:15 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2013-11-17 20:27:15 +0000
commitb035088eaa9d484dbef6faf7c32f0ca90b731b8c (patch)
tree05831a1d2964fc5921aff83b187bc72f3671ccf7 /lib/libkvm/kvm_private.h
parent84deb05d61b5c1d9fbf912846d328fc497f52b65 (diff)
Mark internal symbols as hidden. This removes symbols from the ABI,
albeit ones no one should be using, so major bump the shlib. ok kettenis@ ports testing by landry@
Diffstat (limited to 'lib/libkvm/kvm_private.h')
-rw-r--r--lib/libkvm/kvm_private.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libkvm/kvm_private.h b/lib/libkvm/kvm_private.h
index 0e735d5bf95..967f4e5cb9b 100644
--- a/lib/libkvm/kvm_private.h
+++ b/lib/libkvm/kvm_private.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm_private.h,v 1.21 2013/11/16 00:47:49 guenther Exp $ */
+/* $OpenBSD: kvm_private.h,v 1.22 2013/11/17 20:27:14 guenther Exp $ */
/* $NetBSD: kvm_private.h,v 1.7 1996/05/05 04:32:15 gwr Exp $ */
/*-
@@ -90,6 +90,7 @@ struct __kvm {
/*
* Functions used internally by kvm, but across kvm modules.
*/
+__BEGIN_HIDDEN_DECLS
void _kvm_err(kvm_t *kd, const char *program, const char *fmt, ...)
__attribute__((__format__ (printf, 3, 4)));
int _kvm_dump_mkheader(kvm_t *kd_live, kvm_t *kd_dump);
@@ -103,3 +104,4 @@ void _kvm_syserr(kvm_t *kd, const char *program, const char *fmt, ...)
__attribute__((__format__ (printf, 3, 4)));
ssize_t _kvm_pread(kvm_t *, int, void *, size_t, off_t);
ssize_t _kvm_pwrite(kvm_t *, int, const void *, size_t, off_t);
+__END_HIDDEN_DECLS