summaryrefslogtreecommitdiff
path: root/src/internal/stdio_impl.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018-09-11 14:28:57 -0400
committerRich Felker <dalias@aerifal.cx>2018-09-12 14:34:36 -0400
commita3944d3f0cfc63ebfcd9dad4dd7f2b2cd8860968 (patch)
treeaa8d04ba3ad9e71166eda538a342bc764d2346a0 /src/internal/stdio_impl.h
parentc52ae69844c2e56f84bc159af4cc6bf0fd107d84 (diff)
downloadmusl-a3944d3f0cfc63ebfcd9dad4dd7f2b2cd8860968.tar.gz
declare and make hidden additional internal stdio symbols
Diffstat (limited to 'src/internal/stdio_impl.h')
-rw-r--r--src/internal/stdio_impl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/internal/stdio_impl.h b/src/internal/stdio_impl.h
index 028b7975..92f7be6c 100644
--- a/src/internal/stdio_impl.h
+++ b/src/internal/stdio_impl.h
@@ -50,6 +50,10 @@ struct _IO_FILE {
struct __locale_struct *locale;
};
+extern hidden FILE *volatile __stdin_used;
+extern hidden FILE *volatile __stdout_used;
+extern hidden FILE *volatile __stderr_used;
+
hidden size_t __stdio_read(FILE *, unsigned char *, size_t);
hidden size_t __stdio_write(FILE *, const unsigned char *, size_t);
hidden size_t __stdout_write(FILE *, const unsigned char *, size_t);
@@ -61,6 +65,7 @@ hidden size_t __string_read(FILE *, unsigned char *, size_t);
hidden int __toread(FILE *);
hidden int __towrite(FILE *);
+hidden void __stdio_exit(void);
hidden void __stdio_exit_needed(void);
#if defined(__PIC__) && (100*__GNUC__+__GNUC_MINOR__ >= 303)