aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-02-20 21:37:05 +0000
committerlloyd <[email protected]>2012-02-20 21:37:05 +0000
commit4e74f4482e42743cbe078df20612baf81ca555bf (patch)
tree61604f57c8a427176f0b1960e6c7eea94672291d
parent04148ffdcb98a527a4d521772fce4416b2010075 (diff)
Don't need this function anymore
-rw-r--r--src/utils/calendar.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/utils/calendar.cpp b/src/utils/calendar.cpp
index a51ef876c..14f0113f2 100644
--- a/src/utils/calendar.cpp
+++ b/src/utils/calendar.cpp
@@ -13,18 +13,6 @@ namespace Botan {
namespace {
-/*
-* Combine a two time values into a single one
-*/
-u64bit combine_timers(u32bit seconds, u32bit parts, u32bit parts_hz)
- {
- static const u64bit NANOSECONDS_UNITS = 1000000000;
-
- u64bit res = seconds * NANOSECONDS_UNITS;
- res += parts * (NANOSECONDS_UNITS / parts_hz);
- return res;
- }
-
std::tm do_gmtime(std::time_t time_val)
{
std::tm tm;