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