diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2017-08-23 14:16:49 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2017-08-23 14:36:50 -0500 |
commit | cfbe9c2ede24dac530ef58e5c35bd57f22a788a3 (patch) | |
tree | 6b98d014c8e40c7b6eaa2f5d30150ed90e1ebd88 /src/includes | |
parent | df28002b728b033c00c2da64dedf2bcd4ab5e11b (diff) |
move get_pid function to a shared file
Diffstat (limited to 'src/includes')
-rw-r--r-- | src/includes/rc-misc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/includes/rc-misc.h b/src/includes/rc-misc.h index 95ccbc33..9a55c413 100644 --- a/src/includes/rc-misc.h +++ b/src/includes/rc-misc.h @@ -71,5 +71,6 @@ bool _rc_can_find_pids(void); RC_SERVICE lookup_service_state(const char *service); void from_time_t(char *time_string, time_t tv); time_t to_time_t(char *timestring); +pid_t get_pid(const char *applet, const char *pidfile); #endif |