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
This commit is contained in:
Daan De Meyer
2025-05-14 17:21:37 +02:00
parent 5f7b80b4e5
commit 905ebf6b79
+2 -2
View File
@@ -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;