summary refs log tree commit diff
path: root/src/core/nm-dbus-object.h
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2025-02-12 13:46:50 +0100
committerMichael Biebl <biebl@debian.org>2025-02-12 13:46:50 +0100
commit8bdf070ff046f482f6eb5e2b15ebc216f5d1e3da (patch)
treef706478d189d54c6532e8863d4b0d5ff5575af60 /src/core/nm-dbus-object.h
parent818258cf34b83fbc754633295e1052d4752d7b15 (diff)
New upstream version 1.51.90 upstream/1.51.90
Diffstat (limited to 'src/core/nm-dbus-object.h')
-rw-r--r--src/core/nm-dbus-object.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/nm-dbus-object.h b/src/core/nm-dbus-object.h
index 2a0ff0ee..f9427f24 100644
--- a/src/core/nm-dbus-object.h
+++ b/src/core/nm-dbus-object.h
@@ -29,7 +29,7 @@ typedef struct {
 
 #define NM_DBUS_EXPORT_PATH_STATIC(basepath) \
     ({                                       \
-        ((NMDBusExportPath){                 \
+        ((NMDBusExportPath) {                \
             .path = "" basepath "",          \
         });                                  \
     })
@@ -37,7 +37,7 @@ typedef struct {
 #define NM_DBUS_EXPORT_PATH_NUMBERED(basepath)      \
     ({                                              \
         static long long unsigned _int_counter = 0; \
-        ((NMDBusExportPath){                        \
+        ((NMDBusExportPath) {                       \
             .path        = "" basepath "/%llu",     \
             .int_counter = &_int_counter,           \
         });                                         \
@@ -81,7 +81,7 @@ struct _NMDBusObject {
 };
 
 #define NM_DEFINE_DBUS_INTERFACE_INFO(...) \
-    ((NMDBusInterfaceInfo *) (&((const NMDBusInterfaceInfo){__VA_ARGS__})))
+    ((NMDBusInterfaceInfo *) (&((const NMDBusInterfaceInfo) {__VA_ARGS__})))
 
 typedef struct {
     GObjectClass parent;