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

@@ -40,7 +40,7 @@ static void set_quiet_options(void)
_noreturn static void
show_version(void)
{
const char *systype = NULL;
char *systype = NULL;
printf("%s (OpenRC", applet);
systype = detect_container();