From 996de3397b163f4e8014874907a63ba306dfa6bf Mon Sep 17 00:00:00 2001 From: David Tardon Date: Sun, 24 Dec 2023 11:08:40 +0100 Subject: [PATCH] man: move macro decls. out of doesn't allow block content. --- man/sd-id128.xml | 56 +++++++++++++++++++++++--------------------- man/sd_bus_error.xml | 22 +++++++++-------- 2 files changed, 41 insertions(+), 37 deletions(-) diff --git a/man/sd-id128.xml b/man/sd-id128.xml index 7a81fae3b5f..5a2ca4636a6 100644 --- a/man/sd-id128.xml +++ b/man/sd-id128.xml @@ -41,35 +41,37 @@ #include <systemd/sd-id128.h> + - - SD_ID128_ALLF - - - SD_ID128_NULL - - - SD_ID128_CONST_STR(id) - - - SD_ID128_FORMAT_STR - - - SD_ID128_FORMAT_VAL(id) - - - SD_ID128_MAKE(v0, v1, v2, v3, v4, v5, v6, v7, v8, v9, vA, vB, vC, vD, vE, vF) - - - SD_ID128_MAKE_STR(v0, v1, v2, v3, v4, v5, v6, v7, v8, v9, vA, vB, vC, vD, vE, vF) - - - SD_ID128_MAKE_UUID_STR(v0, v1, v2, v3, v4, v5, v6, v7, v8, v9, vA, vB, vC, vD, vE, vF) - - - SD_ID128_UUID_FORMAT_STR - + + SD_ID128_ALLF + + + SD_ID128_NULL + + + SD_ID128_CONST_STR(id) + + + SD_ID128_FORMAT_STR + + + SD_ID128_FORMAT_VAL(id) + + + SD_ID128_MAKE(v0, v1, v2, v3, v4, v5, v6, v7, v8, v9, vA, vB, vC, vD, vE, vF) + + + SD_ID128_MAKE_STR(v0, v1, v2, v3, v4, v5, v6, v7, v8, v9, vA, vB, vC, vD, vE, vF) + + + SD_ID128_MAKE_UUID_STR(v0, v1, v2, v3, v4, v5, v6, v7, v8, v9, vA, vB, vC, vD, vE, vF) + + + SD_ID128_UUID_FORMAT_STR + + int sd_id128_equal sd_id128_t a diff --git a/man/sd_bus_error.xml b/man/sd_bus_error.xml index 41fdab26345..976c7956de5 100644 --- a/man/sd_bus_error.xml +++ b/man/sd_bus_error.xml @@ -47,14 +47,16 @@ const char *message; … } sd_bus_error; + - - SD_BUS_ERROR_MAKE_CONST(name, message) - - - SD_BUS_ERROR_NULL - + + SD_BUS_ERROR_MAKE_CONST(name, message) + + + SD_BUS_ERROR_NULL + + void sd_bus_error_free sd_bus_error *e @@ -145,12 +147,12 @@ const sd_bus_error *e ... - - - #define sd_bus_error_has_names(e, ...) sd_bus_error_has_names_sentinel(e, ..., NULL) - + + #define sd_bus_error_has_names(e, ...) sd_bus_error_has_names_sentinel(e, ..., NULL) + +