aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libc/putchar.c
diff options
context:
space:
mode:
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>2018-08-16 14:53:05 +0100
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>2018-08-22 10:26:04 +0100
commit4661abc7c44926ac34ce96deb9e332a6804a2520 (patch)
tree7ad0b9ef93489d0bca19342af8a74186b770251d /lib/libc/putchar.c
parent7addcb33ef7b27cbc6f5802194c48d1f5736011d (diff)
downloadplatform_external_arm-trusted-firmware-4661abc7c44926ac34ce96deb9e332a6804a2520.tar.gz
platform_external_arm-trusted-firmware-4661abc7c44926ac34ce96deb9e332a6804a2520.tar.bz2
platform_external_arm-trusted-firmware-4661abc7c44926ac34ce96deb9e332a6804a2520.zip
libc: Cleanup remaining files
The existing files had some style problems that this patch fixes. Change-Id: I794e0d96e52f8da0ffa0d70a41f36c4432b4e563 Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Diffstat (limited to 'lib/libc/putchar.c')
-rw-r--r--lib/libc/putchar.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/libc/putchar.c b/lib/libc/putchar.c
index 8265667b1..0beb625b2 100644
--- a/lib/libc/putchar.c
+++ b/lib/libc/putchar.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2013-2014, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2013-2018, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -7,11 +7,6 @@
#include <stdio.h>
#include <console.h>
-/* Putchar() should either return the character printed or EOF in case of error.
- * Our current console_putc() function assumes success and returns the
- * character. Write all other printing functions in terms of putchar(), if
- * possible, so they all benefit when this is improved.
- */
int putchar(int c)
{
int res;