summaryrefslogtreecommitdiff
path: root/include/libc
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-03-08 17:22:21 +0800
committerMeco Man <[email protected]>2021-03-08 17:22:21 +0800
commit2fd265406edc642dc083ecc76b286611b4585c64 (patch)
tree655abfa1bb0e67636bc689ad8f265cfc8a5a8753 /include/libc
parentce86058201432e865b8d7c4096b3675642a43a42 (diff)
[include] auto formatted
Diffstat (limited to 'include/libc')
-rw-r--r--include/libc/libc_dirent.h5
-rw-r--r--include/libc/libc_errno.h4
-rw-r--r--include/libc/libc_fcntl.h4
-rw-r--r--include/libc/libc_fdset.h2
-rw-r--r--include/libc/libc_ioctl.h2
-rw-r--r--include/libc/libc_limits.h6
-rw-r--r--include/libc/libc_signal.h8
-rw-r--r--include/libc/libc_stat.h5
-rw-r--r--include/libc/libc_stdio.h6
9 files changed, 24 insertions, 18 deletions
diff --git a/include/libc/libc_dirent.h b/include/libc/libc_dirent.h
index c3a19878ec..a86332e633 100644
--- a/include/libc/libc_dirent.h
+++ b/include/libc/libc_dirent.h
@@ -1,7 +1,10 @@
/*
- * Copyright (c) 2006-2018, RT-Thread Development Team
+ * Copyright (c) 2006-2021, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
+ *
+ * Change Logs:
+ * Date Author Notes
*/
#ifndef LIBC_DIRENT_H__
diff --git a/include/libc/libc_errno.h b/include/libc/libc_errno.h
index 9143c841f2..30d6092e33 100644
--- a/include/libc/libc_errno.h
+++ b/include/libc/libc_errno.h
@@ -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
*
@@ -161,7 +161,7 @@ defined in armcc/errno.h
#define EPROTONOSUPPORT (ERROR_BASE_NO + 93)
#define ESOCKTNOSUPPORT (ERROR_BASE_NO + 94)
#define EOPNOTSUPP (ERROR_BASE_NO + 95)
-#define ENOTSUP EOPNOTSUPP
+#define ENOTSUP EOPNOTSUPP
#define EPFNOSUPPORT (ERROR_BASE_NO + 96)
#define EAFNOSUPPORT (ERROR_BASE_NO + 97)
#define EADDRINUSE (ERROR_BASE_NO + 98)
diff --git a/include/libc/libc_fcntl.h b/include/libc/libc_fcntl.h
index d149d86964..945e674d35 100644
--- a/include/libc/libc_fcntl.h
+++ b/include/libc/libc_fcntl.h
@@ -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
*
@@ -38,7 +38,7 @@
#ifdef _O_BINARY
#define O_BINARY _O_BINARY
#else
-#define O_BINARY 0
+#define O_BINARY 0
#endif
#endif
diff --git a/include/libc/libc_fdset.h b/include/libc/libc_fdset.h
index 9700c7e83e..c542e6855c 100644
--- a/include/libc/libc_fdset.h
+++ b/include/libc/libc_fdset.h
@@ -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
*
diff --git a/include/libc/libc_ioctl.h b/include/libc/libc_ioctl.h
index 516c56b1f4..05f0daa238 100644
--- a/include/libc/libc_ioctl.h
+++ b/include/libc/libc_ioctl.h
@@ -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
*
diff --git a/include/libc/libc_limits.h b/include/libc/libc_limits.h
index b8368160df..36b8dbb202 100644
--- a/include/libc/libc_limits.h
+++ b/include/libc/libc_limits.h
@@ -1,11 +1,11 @@
/*
- * Copyright (c) 2006-2018, RT-Thread Development Team
+ * Copyright (c) 2006-2021, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
- * Date Author Notes
- * 2020-09-05 Meco Manthe first version
+ * Date Author Notes
+ * 2020-09-05 Meco Man the first version
*/
#ifndef LIBC_LIMITS_H__
diff --git a/include/libc/libc_signal.h b/include/libc/libc_signal.h
index 539685de3e..8a4cc0d738 100644
--- a/include/libc/libc_signal.h
+++ b/include/libc/libc_signal.h
@@ -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
*
@@ -57,11 +57,11 @@ typedef struct siginfo siginfo_t;
#define SI_USER 0x01 /* Signal sent by kill(). */
#define SI_QUEUE 0x02 /* Signal sent by sigqueue(). */
-#define SI_TIMER 0x03 /* Signal generated by expiration of a
+#define SI_TIMER 0x03 /* Signal generated by expiration of a
timer set by timer_settime(). */
-#define SI_ASYNCIO 0x04 /* Signal generated by completion of an
+#define SI_ASYNCIO 0x04 /* Signal generated by completion of an
asynchronous I/O request. */
-#define SI_MESGQ 0x05 /* Signal generated by arrival of a
+#define SI_MESGQ 0x05 /* Signal generated by arrival of a
message on an empty message queue. */
#if !defined(RT_USING_NEWLIB)
diff --git a/include/libc/libc_stat.h b/include/libc/libc_stat.h
index 6497cfe12c..f680de4e06 100644
--- a/include/libc/libc_stat.h
+++ b/include/libc/libc_stat.h
@@ -1,7 +1,10 @@
/*
- * Copyright (c) 2006-2018, RT-Thread Development Team
+ * Copyright (c) 2006-2021, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
+ *
+ * Change Logs:
+ * Date Author Notes
*/
#ifndef LIBC_STAT_H__
diff --git a/include/libc/libc_stdio.h b/include/libc/libc_stdio.h
index 85ba509852..565e1bfd32 100644
--- a/include/libc/libc_stdio.h
+++ b/include/libc/libc_stdio.h
@@ -1,11 +1,11 @@
/*
- * Copyright (c) 2006-2018, RT-Thread Development Team
+ * Copyright (c) 2006-2021, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
- * Date Author Notes
- * 2020-09-05 Meco Manthe first version
+ * Date Author Notes
+ * 2020-09-05 Meco Man the first version
*/
#ifndef LIBC_STDIO_H__