mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
man/sd_bus_emit_signal: Fix extra const for strv functions
The functions `sd_bus_emit_interfaces_added_strv`, `sd_bus_emit_interfaces_removed_strv` and `sd_bus_emit_properties_changed_strv` take an `char **` not `const char **` as last argument. See `src/systemd/sd-bus.h` for the function definition.
This commit is contained in:
@@ -91,7 +91,7 @@
|
||||
<funcdef>int <function>sd_bus_emit_interfaces_added_strv</function></funcdef>
|
||||
<paramdef>sd_bus *<parameter>bus</parameter></paramdef>
|
||||
<paramdef>const char *<parameter>path</parameter></paramdef>
|
||||
<paramdef>const char **<parameter>interfaces</parameter></paramdef>
|
||||
<paramdef>char **<parameter>interfaces</parameter></paramdef>
|
||||
</funcprototype>
|
||||
|
||||
<funcprototype>
|
||||
@@ -106,7 +106,7 @@
|
||||
<funcdef>int <function>sd_bus_emit_interfaces_removed_strv</function></funcdef>
|
||||
<paramdef>sd_bus *<parameter>bus</parameter></paramdef>
|
||||
<paramdef>const char *<parameter>path</parameter></paramdef>
|
||||
<paramdef>const char **<parameter>interfaces</parameter></paramdef>
|
||||
<paramdef>char **<parameter>interfaces</parameter></paramdef>
|
||||
</funcprototype>
|
||||
|
||||
<funcprototype>
|
||||
@@ -123,7 +123,7 @@
|
||||
<paramdef>sd_bus *<parameter>bus</parameter></paramdef>
|
||||
<paramdef>const char *<parameter>path</parameter></paramdef>
|
||||
<paramdef>const char *<parameter>interface</parameter></paramdef>
|
||||
<paramdef>const char **<parameter>names</parameter></paramdef>
|
||||
<paramdef>char **<parameter>names</parameter></paramdef>
|
||||
</funcprototype>
|
||||
|
||||
<funcprototype>
|
||||
|
||||
Reference in New Issue
Block a user