[lib][libc] Allow overriding __stdio_FILEs

Change-Id: Id5e62858c4fae72e5c1e1044885720e6ad3d3ab5
This commit is contained in:
Arve Hjønnevåg
2016-05-31 19:04:17 -07:00
committed by Travis Geiselbrecht
parent e3939c9a3f
commit bf5587d41a

View File

@@ -32,7 +32,7 @@
.io = &console_io, \
}
FILE __stdio_FILEs[3] = {
__WEAK FILE __stdio_FILEs[3] = {
DEFINE_STDIO_DESC(0), /* stdin */
DEFINE_STDIO_DESC(1), /* stdout */
DEFINE_STDIO_DESC(2), /* stderr */