Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions include/stdio.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ typedef struct {
/* Just for rewinding the stream. */
unsigned has_unput : 1;
unsigned char unput;
/* Used only for terminal output (on stdout) */
unsigned short termx, termy;
/* Used only for terminal output (default for stdout) */
int termx, termy;
/* Whether to output to the serial (default for stderr and stdout) */
unsigned char out_serial : 1;
/* Whether to output to the screen (default for stdout) */
Expand Down
2 changes: 1 addition & 1 deletion libc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ CC=$(TOOLCHAIN_PREFIX)gcc
AS=$(TOOLCHAIN_PREFIX)as
AR=$(TOOLCHAIN_PREFIX)gcc-ar
CFLAGS=-c -ffunction-sections -fdata-sections -Os -flto -ffat-lto-objects \
-m4a-nofpu -mhitachi -ffreestanding -Wall -Wsystem-headers -g -I../include
-m4a-nofpu -mhitachi -ffreestanding -Wall -Wsystem-headers -g -I../include -DPRINTF_MINIMAL
LDFLAGS=-Wl,-static -lfxcg
ARFLAGS=rsv
OBJECTS=printf.o setjmp.o stdio.o stdlib.o ctype.o string.o unistd.o time.o math.o
Expand Down
Loading