From cf5e9aa2bbcdf1783fadeab26586c1134929d928 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Thu, 11 May 2017 16:06:12 -0500 Subject: Move time_t conversions to rc-misc.c so they can be shared --- src/includes/rc-misc.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/includes') diff --git a/src/includes/rc-misc.h b/src/includes/rc-misc.h index 684ace59..384328e7 100644 --- a/src/includes/rc-misc.h +++ b/src/includes/rc-misc.h @@ -23,6 +23,7 @@ #include #include #include +#include #include #include "helpers.h" @@ -68,5 +69,7 @@ RC_DEPTREE *_rc_deptree_load (int, int *); bool _rc_can_find_pids(void); RC_SERVICE lookup_service_state(const char *service); +char *from_time_t(time_t tv); +time_t to_time_t(char *timestring); #endif -- cgit v1.2.3