diff options
Diffstat (limited to 'lib/libc/putchar.c')
-rw-r--r-- | lib/libc/putchar.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/libc/putchar.c b/lib/libc/putchar.c new file mode 100644 index 0000000..3472b24 --- /dev/null +++ b/lib/libc/putchar.c @@ -0,0 +1,14 @@ +/* + * Copyright (c) 2013-2018, ARM Limited and Contributors. All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include <stdio.h> + +int __putchar(int c) +{ + return c; +} + +int putchar(int c) __attribute__((weak,alias("__putchar"))); |