diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2016-01-01 13:13:28 -0600 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2016-01-01 13:13:28 -0600 |
commit | 981d2b3308edb0d0a68f7bdce4f2c99110de6940 (patch) | |
tree | 2bc2eb2f2a3fdbe008cf5dd0d8940dcdbfe5f4d0 /src/includes | |
parent | 5d3e85bc310e12411135e98a397b35fb920a72a3 (diff) |
rc: clean up compiler warnings
The get_systype(), detect_container(), detect_prefix() and detect_vm()
functions need to return "char *" instead of "const char *".
Diffstat (limited to 'src/includes')
-rw-r--r-- | src/includes/rc-misc.h | 8 |
1 files changed, 4 insertions, 4 deletions
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 |