summaryrefslogtreecommitdiffstats
path: root/lib/libc/putchar.c
blob: 3472b243637a29a22e0af31de44d58910fa0b563 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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")));