Use int instead of bool as result

Prefer to use an int return from a function instead of bool because
it can contain more info about failures.
This commit is contained in:
Wim Taymans 2017-12-18 11:38:30 +01:00
parent e5e360d5df
commit 4d6ac37398
38 changed files with 308 additions and 297 deletions

View file

@ -625,8 +625,8 @@ static void pw_protocol_dbus_destroy(struct impl *impl)
}
#endif
bool pipewire__module_init(struct pw_module *module, const char *args)
int pipewire__module_init(struct pw_module *module, const char *args)
{
pw_protocol_dbus_new(module->core, NULL);
return TRUE;
return 0;
}