From: Daan De Meyer Date: Wed, 14 May 2025 15:20:57 +0000 (+0200) Subject: sd-bus: Make sure sd_bus_error and sd_bus_error_map structs are named X-Git-Tag: v258-rc1~617^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=905ebf6b79621bdf42618db37cfb6f1836198762;p=thirdparty%2Fsystemd.git sd-bus: Make sure sd_bus_error and sd_bus_error_map structs are named Otherwise we can't forward declare them. Split out of #37344 --- diff --git a/src/systemd/sd-bus-protocol.h b/src/systemd/sd-bus-protocol.h index 45e5f2e3175..292b03e0bf6 100644 --- a/src/systemd/sd-bus-protocol.h +++ b/src/systemd/sd-bus-protocol.h @@ -115,13 +115,13 @@ typedef struct sd_bus_slot sd_bus_slot; typedef struct sd_bus_creds sd_bus_creds; typedef struct sd_bus_track sd_bus_track; -typedef struct { +typedef struct sd_bus_error { const char *name; const char *message; int _need_free; } sd_bus_error; -typedef struct { +typedef struct sd_bus_error_map { const char *name; int code; } sd_bus_error_map;