1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-03 05:18:09 +03:00

man: move macro decls. out of <funcsynopsis>

<funcsynopsis> doesn't allow block content.
This commit is contained in:
David Tardon 2023-12-24 11:08:40 +01:00
parent 932abebf4d
commit 996de3397b
2 changed files with 41 additions and 37 deletions

View File

@ -41,6 +41,7 @@
<refsynopsisdiv>
<funcsynopsis>
<funcsynopsisinfo>#include &lt;systemd/sd-id128.h&gt;</funcsynopsisinfo>
</funcsynopsis>
<para>
<constant>SD_ID128_ALLF</constant>
@ -70,6 +71,7 @@
<constant>SD_ID128_UUID_FORMAT_STR</constant>
</para>
<funcsynopsis>
<funcprototype>
<funcdef>int <function>sd_id128_equal</function></funcdef>
<paramdef>sd_id128_t <parameter>a</parameter></paramdef>

View File

@ -47,6 +47,7 @@
const char *message;
} sd_bus_error;</funcsynopsisinfo>
</funcsynopsis>
<para>
<constant>SD_BUS_ERROR_MAKE_CONST(<replaceable>name</replaceable>, <replaceable>message</replaceable>)</constant>
@ -55,6 +56,7 @@
<constant>SD_BUS_ERROR_NULL</constant>
</para>
<funcsynopsis>
<funcprototype>
<funcdef>void <function>sd_bus_error_free</function></funcdef>
<paramdef>sd_bus_error *<parameter>e</parameter></paramdef>
@ -145,11 +147,11 @@
<paramdef>const sd_bus_error *<parameter>e</parameter></paramdef>
<paramdef>...</paramdef>
</funcprototype>
</funcsynopsis>
<para>
&#35;define sd_bus_error_has_names(e, ...) sd_bus_error_has_names_sentinel(e, ..., NULL)
</para>
</funcsynopsis>
</refsynopsisdiv>