summaryrefslogtreecommitdiff
path: root/common/utils.h
diff options
context:
space:
mode:
authorSen Jiang <senj@google.com>2019-01-10 18:49:50 -0800
committerandroid-build-merger <android-build-merger@google.com>2019-01-10 18:49:50 -0800
commit43e9d28ee2e46c19d9040ff65de954cedd55a61b (patch)
tree034171f68dc32eb9fe1a9d0af2829dfe2eb89790 /common/utils.h
parentb2297a33d6f06804c4df3479be76e676850af0b2 (diff)
parent1b2d4b2e26fbf88e9ecfc92da499a00b8b238cb1 (diff)
Remove utils::TimeFromStructTimespec(). am: 1c3db7d742
am: 1b2d4b2e26 Change-Id: Ic672778baca971a6f82c03086fb70fab3ebe5a7a
Diffstat (limited to 'common/utils.h')
-rw-r--r--common/utils.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/common/utils.h b/common/utils.h
index 9da69904..4b83cc41 100644
--- a/common/utils.h
+++ b/common/utils.h
@@ -44,11 +44,6 @@ namespace chromeos_update_engine {
namespace utils {
-// Converts a struct timespec representing a number of seconds since
-// the Unix epoch to a base::Time. Sub-microsecond time is rounded
-// down.
-base::Time TimeFromStructTimespec(struct timespec *ts);
-
// Formats |vec_str| as a string of the form ["<elem1>", "<elem2>"].
// Does no escaping, only use this for presentation in error messages.
std::string StringVectorToString(const std::vector<std::string> &vec_str);