From 3e334d286937d262fa812f81d1f89e963595a76b Mon Sep 17 00:00:00 2001 From: guenther Date: Sun, 17 Nov 2013 20:27:14 +0000 Subject: 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@ --- lib/libkvm/kvm_private.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/libkvm/kvm_private.h') 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 -- cgit v1.2.3-59-g8ed1b