restorecond: use strict function prototype for definition
Clang 15 starts to complain about non strict function definitions: user.c:172:10: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] int start() { ^ void Signed-off-by: Christian Göttsche <cgzones@googlemail.com> Reviewed-by: Daniel Burgener <dburgener@linux.microsoft.com> Acked-by: James Carter <jwcart2@gmail.com>
This commit is contained in:
parent
2a9c619b5f
commit
b5b3afbaed
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ io_channel_callback
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
int start() {
|
||||
int start(void) {
|
||||
#ifdef HAVE_DBUS
|
||||
GDBusConnection *bus;
|
||||
GError *err = NULL;
|
||||
|
|
Loading…
Reference in a new issue