diff options
author | 2013-11-17 20:27:14 +0000 | |
---|---|---|
committer | 2013-11-17 20:27:14 +0000 | |
commit | 3e334d286937d262fa812f81d1f89e963595a76b (patch) | |
tree | a2b323a3d380c20d1328b2b4ace17b35d9d96395 /lib/libkvm/kvm_private.h | |
parent | Include unistd.h as it is the standard location for getopt(). (diff) | |
download | wireguard-openbsd-3e334d286937d262fa812f81d1f89e963595a76b.tar.xz wireguard-openbsd-3e334d286937d262fa812f81d1f89e963595a76b.zip |
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.h | 4 |
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 |