rc: clean up compiler warnings

The get_systype(), detect_container(), detect_prefix() and detect_vm()
functions need to return "char *" instead of "const char *".
This commit is contained in:
William Hubbs
2016-01-01 13:13:28 -06:00
parent 5d3e85bc31
commit 981d2b3308
4 changed files with 13 additions and 13 deletions

View File

@@ -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