sd-bus: coding style cleanups

- replace `type *func()` -> `type* func()`,
- rename arguments for storing results,
- add several missing assertions.
This commit is contained in:
Yu Watanabe
2025-06-18 01:54:07 +09:00
parent 8cec3cbeb1
commit 31a1e15ccb
21 changed files with 585 additions and 566 deletions
+1 -2
View File
@@ -930,8 +930,7 @@ int bus_get_instance_id(sd_bus *bus, sd_id128_t *ret) {
r = sd_bus_call_method(bus,
"org.freedesktop.DBus", "/org/freedesktop/DBus", "org.freedesktop.DBus", "GetId",
/* ret_error = */ NULL, &reply,
NULL);
/* reterr_error = */ NULL, &reply, NULL);
if (r < 0)
return r;