From a6c1ed4716cf02626ea035beb6dd4a921642ba80 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Wed, 3 Jan 2018 17:39:24 -0700 Subject: Use libc from agbcc instead of standalone newlib\nYou must have AGBCC commit 80d029caec189587f8b9294b6c8a5a489b8f5f88 in order to compile pmd_red.gba --- newlib/libc/stdio/fputc.c | 51 ----------------------------------------------- 1 file changed, 51 deletions(-) delete mode 100644 newlib/libc/stdio/fputc.c (limited to 'newlib/libc/stdio/fputc.c') diff --git a/newlib/libc/stdio/fputc.c b/newlib/libc/stdio/fputc.c deleted file mode 100644 index 966a0db..0000000 --- a/newlib/libc/stdio/fputc.c +++ /dev/null @@ -1,51 +0,0 @@ -/* -FUNCTION -<>---write a character on a stream or file - -INDEX - fputc - -ANSI_SYNOPSIS - #include - int fputc(int <[ch]>, FILE *<[fp]>); - -TRAD_SYNOPSIS - #include - int fputc(<[ch]>, <[fp]>) - int <[ch]>; - FILE *<[fp]>; - -DESCRIPTION -<> converts the argument <[ch]> from an <> to an -<>, then writes it to the file or stream identified by -<[fp]>. - -If the file was opened with append mode (or if the stream cannot -support positioning), then the new character goes at the end of the -file or stream. Otherwise, the new character is written at the -current value of the position indicator, and the position indicator -oadvances by one. - -For a macro version of this function, see <>. - -RETURNS -If successful, <> returns its argument <[ch]>. If an error -intervenes, the result is <>. You can use `<)>>' to -query for errors. - -PORTABILITY -<> is required by ANSI C. - -Supporting OS subroutines required: <>, <>, <>, -<>, <>, <>, <>. -*/ - -#include - -int -_DEFUN (fputc, (ch, file), - int ch _AND - FILE * file) -{ - return putc (ch, file); -} -- cgit v1.2.3