aboutsummaryrefslogtreecommitdiff
path: root/lib/mlibc/options/glibc/generic/sys-timex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mlibc/options/glibc/generic/sys-timex.cpp')
-rw-r--r--lib/mlibc/options/glibc/generic/sys-timex.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/mlibc/options/glibc/generic/sys-timex.cpp b/lib/mlibc/options/glibc/generic/sys-timex.cpp
new file mode 100644
index 0000000..6173399
--- /dev/null
+++ b/lib/mlibc/options/glibc/generic/sys-timex.cpp
@@ -0,0 +1,17 @@
+#include <bits/ensure.h>
+#include <sys/timex.h>
+
+int adjtimex(struct timex *) {
+ __ensure(!"Not implemented");
+ __builtin_unreachable();
+}
+
+int clock_adjtime(clockid_t, struct timex *) {
+ __ensure(!"Not implemented");
+ __builtin_unreachable();
+}
+
+int ntp_adjtime(struct timex *) {
+ __ensure(!"Not implemented");
+ __builtin_unreachable();
+}