From d16668512fcaf01f2da52789fe9eb35d9319dda6 Mon Sep 17 00:00:00 2001 From: subinacl Date: Tue, 3 Mar 2020 23:01:21 +0300 Subject: [PATCH] Add default values to reboot/shutdown (#26) --- tlib/include/tlib/system.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tlib/include/tlib/system.hpp b/tlib/include/tlib/system.hpp index 0f24627a..ce3338c7 100644 --- a/tlib/include/tlib/system.hpp +++ b/tlib/include/tlib/system.hpp @@ -31,8 +31,8 @@ void sleep_ms(size_t ms); datetime local_date(); -void reboot(unsigned int); -void shutdown(unsigned int); +void reboot(unsigned int delay = 0); +void shutdown(unsigned int delay = 0); uint64_t s_time(); uint64_t ms_time();