Move time_t conversions to rc-misc.c so they can be shared
This commit is contained in:
1 parent
a3250e77d4
commit
cf5e9aa2bb
3 files changed
+38
-3
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user