From 84c6ceba62911c5bcb70e6cf530e4d7627546a81 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Wed, 23 Apr 2025 11:26:48 -0700 Subject: [PATCH] altos: Adapt to picolibc 1.8.10 changes Signed-off-by: Keith Packard --- src/kernel/ao_stdio.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/kernel/ao_stdio.c b/src/kernel/ao_stdio.c index 7f74f811..a7c5e252 100644 --- a/src/kernel/ao_stdio.c +++ b/src/kernel/ao_stdio.c @@ -188,8 +188,6 @@ ao_flushc(FILE *ignore) static FILE __stdio = FDEV_SETUP_STREAM(ao_putc, ao_getc, ao_flushc, _FDEV_SETUP_RW); -#ifdef PICOLIBC_STDIO_GLOBALS - #ifdef __strong_reference #define STDIO_ALIAS(x) __strong_reference(stdin, x); #else @@ -199,9 +197,3 @@ static FILE __stdio = FDEV_SETUP_STREAM(ao_putc, ao_getc, ao_flushc, _FDEV_SETUP FILE *const stdin = &__stdio; STDIO_ALIAS(stdout); STDIO_ALIAS(stderr); - -#else - -FILE *const __iob[3] = { &__stdio, &__stdio, &__stdio }; - -#endif -- 2.47.2