aboutsummaryrefslogtreecommitdiff
path: root/src/includes
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2017-05-11 16:06:12 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2017-05-11 16:06:12 -0500
commitcf5e9aa2bbcdf1783fadeab26586c1134929d928 (patch)
tree2033aec06cc4b684b971d28c7fe8053f76b7cbfa /src/includes
parenta3250e77d412f2290e381b9e7569930d95e4fc5b (diff)
Move time_t conversions to rc-misc.c so they can be shared
Diffstat (limited to 'src/includes')
-rw-r--r--src/includes/rc-misc.h3
1 files changed, 3 insertions, 0 deletions
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 <stdbool.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
#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