From 981d2b3308edb0d0a68f7bdce4f2c99110de6940 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Fri, 1 Jan 2016 13:13:28 -0600 Subject: rc: clean up compiler warnings The get_systype(), detect_container(), detect_prefix() and detect_vm() functions need to return "char *" instead of "const char *". --- src/includes/rc-misc.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/includes') diff --git a/src/includes/rc-misc.h b/src/includes/rc-misc.h index 89d6336b..fa370e49 100644 --- a/src/includes/rc-misc.h +++ b/src/includes/rc-misc.h @@ -74,8 +74,8 @@ 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); +char *detect_prefix(void); +char *get_systype(void); +char *detect_container(void); +char *detect_vm(void); #endif -- cgit v1.2.3