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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user