[libc-commits] [libc] [libc][NFC] adjust time related implementations (PR #91485)

via libc-commits libc-commits at lists.llvm.org
Wed May 8 09:49:50 PDT 2024


================
@@ -21,8 +21,30 @@
 namespace LIBC_NAMESPACE {
 namespace internal {
 
-LIBC_INLINE ErrorOr<int> clock_gettimeimpl(clockid_t clockid,
-                                           struct timespec *ts) {
+namespace time_units {
----------------
lntue wrote:

If they are going to be used beyond `src/time`, and do not have any dependency on `src/time`, probably `src/__support/time` will be a good place for all of these.

https://github.com/llvm/llvm-project/pull/91485


More information about the libc-commits mailing list