From cfbe9c2ede24dac530ef58e5c35bd57f22a788a3 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Wed, 23 Aug 2017 14:16:49 -0500 Subject: move get_pid function to a shared file --- src/includes/rc-misc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/includes') 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 -- cgit v1.2.3