aboutsummaryrefslogtreecommitdiffstats
path: root/fastos
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2019-12-10 00:54:16 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2019-12-16 23:48:46 +0000
commitc2ea426c8d955ff40873db1e7d06c482ca662e75 (patch)
tree3f1ef7843ca4c984048a4d1cf7ef333b07d9ffb5 /fastos
parent6a807615c7ee6364362a9a14d725165e948c5585 (diff)
Drop timestamp.h
Diffstat (limited to 'fastos')
-rw-r--r--fastos/src/vespa/fastos/CMakeLists.txt1
-rw-r--r--fastos/src/vespa/fastos/timestamp.cpp14
-rw-r--r--fastos/src/vespa/fastos/timestamp.h11
3 files changed, 0 insertions, 26 deletions
diff --git a/fastos/src/vespa/fastos/CMakeLists.txt b/fastos/src/vespa/fastos/CMakeLists.txt
index fb5e7b2901e..1437f5c55f3 100644
--- a/fastos/src/vespa/fastos/CMakeLists.txt
+++ b/fastos/src/vespa/fastos/CMakeLists.txt
@@ -7,7 +7,6 @@ vespa_add_library(fastos_objects OBJECT
linux_file.cpp
process.cpp
thread.cpp
- timestamp.cpp
unix_app.cpp
unix_dynamiclibrary.cpp
unix_file.cpp
diff --git a/fastos/src/vespa/fastos/timestamp.cpp b/fastos/src/vespa/fastos/timestamp.cpp
deleted file mode 100644
index 5268453901d..00000000000
--- a/fastos/src/vespa/fastos/timestamp.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
-// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-#include "timestamp.h"
-#include <chrono>
-
-using std::chrono::system_clock;
-
-namespace fastos {
-
-time_t
-time() {
- return system_clock::to_time_t(system_clock::now());
-}
-
-}
diff --git a/fastos/src/vespa/fastos/timestamp.h b/fastos/src/vespa/fastos/timestamp.h
deleted file mode 100644
index e050fe1bcbb..00000000000
--- a/fastos/src/vespa/fastos/timestamp.h
+++ /dev/null
@@ -1,11 +0,0 @@
-// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-#pragma once
-
-#include <ctime>
-
-namespace fastos {
-
-time_t time();
-
-}
-