Changes in uspace/lib/c/include/time.h [09ab0a9a:bc56f30] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/time.h
r09ab0a9a rbc56f30 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.