From faa8318b3ba278544413a39d4a5ae4457711793f Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Fri, 18 May 2018 16:48:21 -0500 Subject: Remove the _rc_can_find_pids function This test to find if we could see pid 1 was being used inconsistently in rc-status and mark_service_crashed to decide whether we could test to see if the daemon for the service was crashed, and it was not part of the librc library. I am removing it from the executables because of inconsistent usage. I will add it to the library if it is needed there. --- src/includes/rc-misc.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/includes/rc-misc.h') diff --git a/src/includes/rc-misc.h b/src/includes/rc-misc.h index e6789911..d05255f4 100644 --- a/src/includes/rc-misc.h +++ b/src/includes/rc-misc.h @@ -66,9 +66,6 @@ int parse_mode(mode_t *, char *); /* Handy function so we can wrap einfo around our deptree */ RC_DEPTREE *_rc_deptree_load (int, int *); -/* Test to see if we can see pid 1 or not */ -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); -- cgit v1.2.3