summaryrefslogtreecommitdiff
path: root/lib/ktl/include/time.h
diff options
context:
space:
mode:
authorRichard Qin <richard.qin.x@gmail.com>2026-10-16 02:39:56 +0800
committerRichard Qin <richard.qin.x@gmail.com>2026-10-16 02:39:56 +0800
commit8cace3f05003c6cb4d38c36890055f03151c2ad4 (patch)
treeaa739deaac0266f17c4e91b333957501cb1ea2e9 /lib/ktl/include/time.h
parent3ad39e9878310e5317ee73c9b353c1e2c1c5c4ee (diff)
downloadlume-8cace3f05003c6cb4d38c36890055f03151c2ad4.tar.gz
lume-8cace3f05003c6cb4d38c36890055f03151c2ad4.tar.xz
Remove old code
Signed-off-by: Richard Qin <richard.qin.x@gmail.com>
Diffstat (limited to 'lib/ktl/include/time.h')
-rw-r--r--lib/ktl/include/time.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/lib/ktl/include/time.h b/lib/ktl/include/time.h
deleted file mode 100644
index 138801f..0000000
--- a/lib/ktl/include/time.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2020 The Fuchsia Authors
-//
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file or at
-// https://opensource.org/licenses/MIT
-
-#ifndef ZIRCON_KERNEL_LIB_KTL_INCLUDE_TIME_H_
-#define ZIRCON_KERNEL_LIB_KTL_INCLUDE_TIME_H_
-
-#include <stddef.h>
-
-// <zircon/time.h> uses these when __has_include(<time.h>).
-typedef long int time_t;
-struct timespec {
- time_t tv_sec;
- long int tv_nsec;
-};
-
-// The kernel doesn't want this file but some libc++ headers we need
-// wind up including it and they need these declarations.
-
-#ifdef __cplusplus
-
-using clock_t = long int;
-struct tm {};
-char* asctime(tm*) noexcept;
-clock_t clock() noexcept;
-char* ctime(const time_t*) noexcept;
-double difftime(time_t, time_t) noexcept;
-tm* gmtime(const time_t*) noexcept;
-tm* localtime(const time_t*) noexcept;
-time_t mktime(tm*) noexcept;
-size_t strftime(char*, size_t, const char*, const tm*) noexcept;
-time_t time(time_t*) noexcept;
-int timespec_get(timespec* ts, int) noexcept;
-
-#endif // __cplusplus
-
-#endif // ZIRCON_KERNEL_LIB_KTL_INCLUDE_TIME_H_