From 4124c6ed3fa92bb7b06df64db58d7df3d6ef31fe Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 22 Jun 2023 14:22:58 +1000 Subject: [PATCH] AP_Common: move AP_RTC::mktime to be ap_mktime in preparation for AP_RTC_ENABLED --- libraries/AP_Common/time.h | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 libraries/AP_Common/time.h diff --git a/libraries/AP_Common/time.h b/libraries/AP_Common/time.h new file mode 100644 index 0000000000..e25748f5b9 --- /dev/null +++ b/libraries/AP_Common/time.h @@ -0,0 +1,6 @@ +#pragma once + +#include + +// replacement for mktime() +time_t ap_mktime(const struct tm *t);