Changeset bc73be3 in mainline for uspace/lib/c/include/time.h
- Timestamp:
- 2019-06-27T08:51:20Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8add15e0
- Parents:
- ad40b74b (diff), aeba767 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
uspace/lib/c/include/time.h (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/time.h
rad40b74b rbc73be3 33 33 */ 34 34 35 #ifndef LIBC_TIME_H_36 #define LIBC_TIME_H_35 #ifndef _LIBC_TIME_H_ 36 #define _LIBC_TIME_H_ 37 37 38 #ifdef __cplusplus 39 extern "C" { 40 #endif 38 #include <_bits/decls.h> 41 39 42 40 /* ISO/IEC 9899:2011 7.27.1 (2) */ … … 52 50 #include <_bits/size_t.h> 53 51 52 __C_DECLS_BEGIN; 53 54 54 /* ISO/IEC 9899:2011 7.27.1 (3), (4) */ 55 55 … … 64 64 struct tm { 65 65 int tm_sec; 66 #ifdef _HELENOS_SOURCE 67 int tm_nsec; 68 #endif 66 int tm_nsec; /**< Nonstandard extension, nanoseconds since last second. */ 69 67 int tm_min; 70 68 int tm_hour; … … 108 106 const struct tm *__restrict__); 109 107 108 __C_DECLS_END; 109 110 110 #ifdef _HELENOS_SOURCE 111 111 … … 116 116 #include <stdbool.h> 117 117 #include <_bits/errno.h> 118 119 __HELENOS_DECLS_BEGIN; 118 120 119 121 typedef long long sec_t; … … 157 159 extern void udelay(sysarg_t); 158 160 161 __HELENOS_DECLS_END; 162 159 163 #endif /* _HELENOS_SOURCE */ 160 161 #ifdef __cplusplus162 }163 #endif164 164 165 165 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
