summaryrefslogtreecommitdiff
path: root/components/libc/compilers/newlib/stdio.c
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-03-08 18:19:04 +0800
committerMeco Man <[email protected]>2021-03-08 18:19:04 +0800
commit3c05a4e7193ee553bf502560e7de4be6489c7629 (patch)
tree69771215353ad4697e7c12a969f9bada32129265 /components/libc/compilers/newlib/stdio.c
parentce86058201432e865b8d7c4096b3675642a43a42 (diff)
[compoenets] auto & manual formatted
Diffstat (limited to 'components/libc/compilers/newlib/stdio.c')
-rw-r--r--components/libc/compilers/newlib/stdio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/libc/compilers/newlib/stdio.c b/components/libc/compilers/newlib/stdio.c
index 233a447396..ce5bdb75cb 100644
--- a/components/libc/compilers/newlib/stdio.c
+++ b/components/libc/compilers/newlib/stdio.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2018, RT-Thread Development Team
+ * Copyright (c) 2006-2021, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
@@ -15,7 +15,7 @@
#define STDIO_DEVICE_NAME_MAX 32
-int _EXFUN(fileno, (FILE *));
+int _EXFUN(fileno, (FILE *));
static FILE* std_console = NULL;
@@ -48,7 +48,7 @@ int libc_stdio_set_console(const char* device_name, int mode)
{
_GLOBAL_REENT->_stdin = std_console;
}
- else
+ else
{
_GLOBAL_REENT->_stdin = NULL;
}