summaryrefslogtreecommitdiff
path: root/components/libc/compilers/common/sys/time.h
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-09-11 11:25:43 -0400
committerMeco Man <[email protected]>2021-09-11 11:25:43 -0400
commit92c62a8fab541a89aa5d37d15d43864ca072dd13 (patch)
tree82092ee50453df26024df4e439afd3d14c1c7edb /components/libc/compilers/common/sys/time.h
parentee55c58ce43cf2405481db11df187af3aff74eb4 (diff)
标准化<poll.h> 弱化<dfs_poll.h>
Diffstat (limited to 'components/libc/compilers/common/sys/time.h')
-rw-r--r--components/libc/compilers/common/sys/time.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/libc/compilers/common/sys/time.h b/components/libc/compilers/common/sys/time.h
index c2320429e0..9d4422e17a 100644
--- a/components/libc/compilers/common/sys/time.h
+++ b/components/libc/compilers/common/sys/time.h
@@ -8,8 +8,8 @@
* 2020-09-07 Meco Man combine gcc armcc iccarm
* 2021-02-12 Meco Man move all definitions located in <clock_time.h> to this file
*/
-#ifndef _SYS_TIME_H_
-#define _SYS_TIME_H_
+#ifndef __SYS_TIME_H__
+#define __SYS_TIME_H__
#include <rtconfig.h>
#include <rtdef.h>
@@ -73,7 +73,7 @@ struct timespec {
};
#endif
-/* posix clock and timer */
+/* POSIX clock and timer */
#define MILLISECOND_PER_SECOND 1000UL
#define MICROSECOND_PER_SECOND 1000000UL
#define NANOSECOND_PER_SECOND 1000000000UL