From 408bb22af68264182aea70be9a7db9140dc438a1 Mon Sep 17 00:00:00 2001 From: liruncong Date: Sun, 15 Sep 2019 11:47:11 +0800 Subject: [PATCH] =?UTF-8?q?[components/libc/compilers]=E6=92=A4=E9=94=80?= =?UTF-8?q?=E7=94=B1VS=E7=BC=96=E8=BE=91=E5=99=A8=E5=9C=A8=E9=94=AE?= =?UTF-8?q?=E5=85=A5}=E5=90=8E=E8=87=AA=E5=8A=A8=E5=BC=95=E8=B5=B7?= =?UTF-8?q?=E7=9A=84=E7=BC=A9=E8=BF=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/libc/compilers/armlibc/libc.h | 10 +++++----- components/libc/compilers/dlib/libc.h | 10 +++++----- components/libc/compilers/newlib/libc.h | 14 +++++++------- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/components/libc/compilers/armlibc/libc.h b/components/libc/compilers/armlibc/libc.h index 38d72241d5..b9b1b6212d 100644 --- a/components/libc/compilers/armlibc/libc.h +++ b/components/libc/compilers/armlibc/libc.h @@ -15,12 +15,12 @@ #ifdef __cplusplus extern "C" { #endif - int libc_system_init(void); +int libc_system_init(void); - int libc_stdio_set_console(const char* device_name, int mode); - int libc_stdio_get_console(void); - int libc_stdio_read(void* buffer, size_t size); - int libc_stdio_write(const void* buffer, size_t size); +int libc_stdio_set_console(const char* device_name, int mode); +int libc_stdio_get_console(void); +int libc_stdio_read(void* buffer, size_t size); +int libc_stdio_write(const void* buffer, size_t size); #ifdef __cplusplus } #endif diff --git a/components/libc/compilers/dlib/libc.h b/components/libc/compilers/dlib/libc.h index a3a5753c77..5b46bee0c8 100644 --- a/components/libc/compilers/dlib/libc.h +++ b/components/libc/compilers/dlib/libc.h @@ -16,12 +16,12 @@ #ifdef __cplusplus extern "C" { #endif - int libc_system_init(void); +int libc_system_init(void); - int libc_stdio_set_console(const char* device_name, int mode); - int libc_stdio_get_console(void); - int libc_stdio_read(void* buffer, size_t size); - int libc_stdio_write(const void* buffer, size_t size); +int libc_stdio_set_console(const char* device_name, int mode); +int libc_stdio_get_console(void); +int libc_stdio_read(void* buffer, size_t size); +int libc_stdio_write(const void* buffer, size_t size); #ifdef __cplusplus } #endif diff --git a/components/libc/compilers/newlib/libc.h b/components/libc/compilers/newlib/libc.h index e2613740b9..fdf2ab4f60 100644 --- a/components/libc/compilers/newlib/libc.h +++ b/components/libc/compilers/newlib/libc.h @@ -30,14 +30,14 @@ #ifdef __cplusplus extern "C" { #endif - int libc_system_init(void); - int libc_stdio_set_console(const char* device_name, int mode); - int libc_stdio_get_console(void); +int libc_system_init(void); +int libc_stdio_set_console(const char* device_name, int mode); +int libc_stdio_get_console(void); - /* some time related function */ - int libc_set_time(const struct timespec* time); - int libc_get_time(struct timespec* time); - int libc_time_to_tick(const struct timespec* time); +/* some time related function */ +int libc_set_time(const struct timespec* time); +int libc_get_time(struct timespec* time); +int libc_time_to_tick(const struct timespec* time); #ifdef __cplusplus } #endif