summaryrefslogtreecommitdiff
path: root/AK/ktime.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-10-17 11:40:58 +0200
committerAndreas Kling <awesomekling@gmail.com>2018-10-17 11:40:58 +0200
commitd2425495ca7c24d09613649978678027f91a140d (patch)
tree9ad0e57625d6d64c431ebcf3c0555f13ba43964b /AK/ktime.h
parent9171521752b0b382f1f70453b4f24915999144b9 (diff)
downloadserenity-d2425495ca7c24d09613649978678027f91a140d.zip
VirtualFileSystem class builds inside Kernel.
Diffstat (limited to 'AK/ktime.h')
-rw-r--r--AK/ktime.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/AK/ktime.h b/AK/ktime.h
index b5f5e639a8..f082def89e 100644
--- a/AK/ktime.h
+++ b/AK/ktime.h
@@ -1,12 +1,7 @@
#pragma once
#ifdef SERENITY_KERNEL
-inline time_t time(time_t* tloc)
-{
- if (tloc)
- *tloc = 123;
- return 123;
-}
+#include <Kernel/ktime.h>
#else
#include <time.h>
#define ktime time