From 649f63d882d53533ae8b1c3b28967e772e738c45 Mon Sep 17 00:00:00 2001 From: Doug Freed Date: Sun, 17 Jan 2016 21:43:46 -0800 Subject: librc: move system detection code into rc_sys and use it This fixes an issue where librc code was calling code that only existed in the rc binary. This reverts commits 8addd79 and 9f6e056 This fixes #75. --- src/includes/rc-misc.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/includes') diff --git a/src/includes/rc-misc.h b/src/includes/rc-misc.h index f2449cd7..684ace59 100644 --- a/src/includes/rc-misc.h +++ b/src/includes/rc-misc.h @@ -60,10 +60,6 @@ int is_writable(const char *); #define service_stop(service) exec_service(service, "stop"); int parse_mode(mode_t *, char *); -const char *detect_prefix(void); -const char *get_systype(void); -const char *detect_container(void); -const char *detect_vm(void); /* Handy function so we can wrap einfo around our deptree */ RC_DEPTREE *_rc_deptree_load (int, int *); -- cgit v1.2.3