Changeset e638266 for libcfa/src
- Timestamp:
- Apr 21, 2021, 6:36:29 AM (3 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 85d8153, c41c2dbe
- Parents:
- dabc428
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/time.hfa
rdabc428 re638266 10 10 // Created On : Wed Mar 14 23:18:57 2018 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue Apr 20 23:25:58202113 // Update Count : 66 512 // Last Modified On : Wed Apr 21 06:32:31 2021 13 // Update Count : 667 14 14 // 15 15 … … 117 117 static inline { 118 118 void ?{}( timeval & t ) {} 119 void ?{}( timeval & t, __attribute__((unused)) zero_t ) { t{ 0, 0 }; }120 119 void ?{}( timeval & t, time_t sec, suseconds_t usec ) { t.tv_sec = sec; t.tv_usec = usec; } 121 120 void ?{}( timeval & t, time_t sec ) { t{ sec, 0 }; } 121 void ?{}( timeval & t, __attribute__((unused)) zero_t ) { t{ 0, 0 }; } 122 122 123 123 timeval ?=?( timeval & t, __attribute__((unused)) zero_t ) { return t{ 0 }; } … … 132 132 static inline { 133 133 void ?{}( timespec & t ) {} 134 void ?{}( timespec & t, __attribute__((unused)) zero_t ) { t{ 0, 0 }; }135 134 void ?{}( timespec & t, time_t sec, __syscall_slong_t nsec ) { t.tv_sec = sec; t.tv_nsec = nsec; } 136 135 void ?{}( timespec & t, time_t sec ) { t{ sec, 0}; } 136 void ?{}( timespec & t, __attribute__((unused)) zero_t ) { t{ 0, 0 }; } 137 137 138 138 timespec ?=?( timespec & t, __attribute__((unused)) zero_t ) { return t{ 0 }; }
Note: See TracChangeset
for help on using the changeset viewer.