diff options
Diffstat (limited to 'klibc/klibc/putchar.c')
-rw-r--r-- | klibc/klibc/putchar.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/klibc/klibc/putchar.c b/klibc/klibc/putchar.c new file mode 100644 index 0000000000..0e35adda17 --- /dev/null +++ b/klibc/klibc/putchar.c @@ -0,0 +1,15 @@ +/* + * putchar.c + * + * - gcc wants this + */ + +#include <stdio.h> + +#undef putchar /* Defined as a macro */ +int putchar(int); + +int putchar(int c) +{ + return fputc(c, stdout); +} |