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/stdio/fvwrite.h | |
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/stdio/fvwrite.h')
-rw-r--r-- | lib/libc/stdio/fvwrite.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/stdio/fvwrite.h b/lib/libc/stdio/fvwrite.h index d3a309b2938..f04565bc28a 100644 --- a/lib/libc/stdio/fvwrite.h +++ b/lib/libc/stdio/fvwrite.h @@ -1,4 +1,4 @@ -/* $OpenBSD: fvwrite.h,v 1.6 2013/11/12 07:04:35 deraadt Exp $ */ +/* $OpenBSD: fvwrite.h,v 1.7 2015/08/27 04:37:09 guenther Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -45,5 +45,7 @@ struct __suio { int uio_resid; }; +__BEGIN_HIDDEN_DECLS extern int __sfvwrite(FILE *, struct __suio *); wint_t __fputwc_unlock(wchar_t wc, FILE *fp); +__END_HIDDEN_DECLS |