diff options
author | Lennart Poettering <lennart@poettering.net> | 2024-04-26 17:43:42 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2024-06-14 11:22:22 +0200 |
commit | 901519d583a1cb9b8f0029d99f52bcf2917b16ea (patch) | |
tree | b499936fdc23392301fd597a51d69c332e55b4c3 /src/shared/varlink-idl.h | |
parent | sd-json: make static analyzers shut up (diff) | |
download | systemd-901519d583a1cb9b8f0029d99f52bcf2917b16ea.tar.xz systemd-901519d583a1cb9b8f0029d99f52bcf2917b16ea.zip |
varlink-idl: align continuation line character \
Diffstat (limited to '')
-rw-r--r-- | src/shared/varlink-idl.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/shared/varlink-idl.h b/src/shared/varlink-idl.h index f2d4892eee..6d0b3490fb 100644 --- a/src/shared/varlink-idl.h +++ b/src/shared/varlink-idl.h @@ -82,25 +82,25 @@ struct VarlinkInterface { const VarlinkSymbol *symbols[]; }; -#define VARLINK_DEFINE_FIELD(_name, _field_type, _field_flags) \ +#define VARLINK_DEFINE_FIELD(_name, _field_type, _field_flags) \ { .name = #_name, .field_type = (_field_type), .field_flags = (_field_flags) } -#define VARLINK_DEFINE_FIELD_BY_TYPE(_name, _named_type, _field_flags) \ +#define VARLINK_DEFINE_FIELD_BY_TYPE(_name, _named_type, _field_flags) \ { .name = #_name, .field_type = VARLINK_NAMED_TYPE, .named_type = #_named_type, .symbol = &vl_type_ ## _named_type, .field_flags = (_field_flags) } -#define VARLINK_DEFINE_INPUT(_name, _field_type, _field_flags) \ +#define VARLINK_DEFINE_INPUT(_name, _field_type, _field_flags) \ { .name = #_name, .field_type = (_field_type), .field_flags = (_field_flags), .field_direction = VARLINK_INPUT } -#define VARLINK_DEFINE_INPUT_BY_TYPE(_name, _named_type, _field_flags) \ +#define VARLINK_DEFINE_INPUT_BY_TYPE(_name, _named_type, _field_flags) \ { .name = #_name, .field_type = VARLINK_NAMED_TYPE, .named_type = #_named_type, .symbol = &vl_type_ ## _named_type, .field_flags = (_field_flags), .field_direction = VARLINK_INPUT } -#define VARLINK_DEFINE_OUTPUT(_name, _field_type, _field_flags) \ +#define VARLINK_DEFINE_OUTPUT(_name, _field_type, _field_flags) \ { .name = #_name, .field_type = (_field_type), .field_flags = (_field_flags), .field_direction = VARLINK_OUTPUT } #define VARLINK_DEFINE_OUTPUT_BY_TYPE(_name, _named_type, _field_flags) \ { .name = #_name, .field_type = VARLINK_NAMED_TYPE, .named_type = #_named_type, .symbol = &vl_type_ ## _named_type, .field_flags = (_field_flags), .field_direction = VARLINK_OUTPUT } -#define VARLINK_DEFINE_ENUM_VALUE(_name) \ +#define VARLINK_DEFINE_ENUM_VALUE(_name) \ { .name = #_name, .field_type = VARLINK_ENUM_VALUE } #define VARLINK_DEFINE_METHOD(_name, ...) \ |