diff options
author | 2015-08-27 04:37:09 +0000 | |
---|---|---|
committer | 2015-08-27 04:37:09 +0000 | |
commit | bb64080b0f4926cfaad11f8655a5a0ff1c21e50f (patch) | |
tree | 2f9ddff73dde02f16705737abba78e6aa5e185c8 /lib/libc/db/hash | |
parent | Move the __rand48_* declarations into rand48.h, and then hide both them (diff) | |
download | wireguard-openbsd-bb64080b0f4926cfaad11f8655a5a0ff1c21e50f.tar.xz wireguard-openbsd-bb64080b0f4926cfaad11f8655a5a0ff1c21e50f.zip |
Use static and __{BEGIN,ENV}_HIDDEN_DECLS to hide a bunch of internal
symbols that are not longer exported. (This improves the generated code.)
ok deraadt@
Diffstat (limited to 'lib/libc/db/hash')
-rw-r--r-- | lib/libc/db/hash/extern.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/db/hash/extern.h b/lib/libc/db/hash/extern.h index 7f837ffacbc..3d496169e13 100644 --- a/lib/libc/db/hash/extern.h +++ b/lib/libc/db/hash/extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: extern.h,v 1.7 2003/06/02 20:18:33 millert Exp $ */ +/* $OpenBSD: extern.h,v 1.8 2015/08/27 04:37:09 guenther Exp $ */ /*- * Copyright (c) 1991, 1993, 1994 @@ -31,6 +31,7 @@ * @(#)extern.h 8.4 (Berkeley) 6/16/94 */ +__BEGIN_HIDDEN_DECLS BUFHEAD *__add_ovflpage(HTAB *, BUFHEAD *); int __addel(HTAB *, BUFHEAD *, const DBT *, const DBT *); int __big_delete(HTAB *, BUFHEAD *); @@ -61,3 +62,4 @@ extern u_int32_t (*__default_hash)(const void *, size_t); #ifdef HASH_STATISTICS extern int hash_accesses, hash_collisions, hash_expansions, hash_overflows; #endif +__END_HIDDEN_DECLS |