aboutsummaryrefslogtreecommitdiffstats
path: root/libc/stdio/glue.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-05-22 20:06:23 -0700
committerElliott Hughes <enh@google.com>2014-05-22 20:06:23 -0700
commit2899de9b05f15e67966ed3d046709b48703a162a (patch)
tree593a1f614b86d09b638398586d617addd4fdc3a4 /libc/stdio/glue.h
parentea7dc32080114af59789c119ca6aa4814426ea42 (diff)
downloadandroid_bionic-2899de9b05f15e67966ed3d046709b48703a162a.tar.gz
android_bionic-2899de9b05f15e67966ed3d046709b48703a162a.tar.bz2
android_bionic-2899de9b05f15e67966ed3d046709b48703a162a.zip
Hide various stdio implementation details.
I've left __sF exposed since that's how the OpenBSD stdin, stdout, stderr are implemented. Other BSDs and glibc use a separate global for each instead of an array. Bug: 11156955 Change-Id: I9f3d2d4314a8d4a78c3197b9acd9258820c5f150
Diffstat (limited to 'libc/stdio/glue.h')
-rw-r--r--libc/stdio/glue.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/stdio/glue.h b/libc/stdio/glue.h
index 73cef6327..81f83fc01 100644
--- a/libc/stdio/glue.h
+++ b/libc/stdio/glue.h
@@ -42,4 +42,8 @@ struct glue {
FILE *iobs;
};
+#pragma GCC visibility push(hidden)
+
extern struct glue __sglue;
+
+#pragma GCC visibility pop