treewide: Move timers out of networkd lib scope
Change-Id: I5fd0fc70d007e0851329172b8421846a78016d57
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/src/types.hpp b/src/types.hpp
index f426f81..8d1daf4 100644
--- a/src/types.hpp
+++ b/src/types.hpp
@@ -5,10 +5,8 @@
#include <algorithm>
#include <array>
-#include <chrono>
#include <numeric>
-#include <sdeventplus/clock.hpp>
-#include <sdeventplus/utility/timer.hpp>
+#include <optional>
#include <string>
#include <string_view>
#include <type_traits>
@@ -37,11 +35,6 @@
namespace network
{
-using namespace std::chrono_literals;
-
-// wait for three seconds before reloading systemd-networkd
-constexpr auto reloadTimeout = 3s;
-
// Byte representations for common address types in network byte order
using InAddrAny = std::variant<in_addr, in6_addr>;
class IfAddr
@@ -85,8 +78,6 @@
}
};
-using Timer = sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>;
-
/** @class InterfaceInfo
* @brief Information about interfaces from the kernel
*/