about summary refs log tree commit diff
path: root/src/core/platform/tests/test-common.h
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2025-02-12 13:46:55 +0100
committerMichael Biebl <biebl@debian.org>2025-02-12 13:46:55 +0100
commitec170f43021cdc93a65151f4646875cd3aa42a13 (patch)
treeedd6f226af21951b7b4ae1954308594413610513 /src/core/platform/tests/test-common.h
parentd5d9f6796c16f29776c619f464811917e46521f4 (diff)
parent8bdf070ff046f482f6eb5e2b15ebc216f5d1e3da (diff)
Update upstream source from tag 'upstream/1.51.90'
Update to upstream version '1.51.90'
with Debian dir 5ed61494ac9853892cd39fb1e4debd23f234a5b9
Diffstat (limited to 'src/core/platform/tests/test-common.h')
-rw-r--r--src/core/platform/tests/test-common.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/core/platform/tests/test-common.h b/src/core/platform/tests/test-common.h
index 12d6e7ce..85ed7961 100644
--- a/src/core/platform/tests/test-common.h
+++ b/src/core/platform/tests/test-common.h
@@ -372,21 +372,21 @@ void _nmtstp_platform_ip_addresses_assert(const char        *filename,
                                           guint              addrs_len,
                                           const char *const *addrs);
 
-#define nmtstp_platform_ip_addresses_assert(self,                                              \
-                                            ifindex,                                           \
-                                            force_exact_4,                                     \
-                                            force_exact_6,                                     \
-                                            ignore_ll6,                                        \
-                                            ...)                                               \
-    _nmtstp_platform_ip_addresses_assert(__FILE__,                                             \
-                                         __LINE__,                                             \
-                                         (self),                                               \
-                                         (ifindex),                                            \
-                                         (force_exact_4),                                      \
-                                         (force_exact_6),                                      \
-                                         (ignore_ll6),                                         \
-                                         NM_NARG(__VA_ARGS__),                                 \
-                                         ((const char *const[]){"dummy", ##__VA_ARGS__, NULL}) \
+#define nmtstp_platform_ip_addresses_assert(self,                                               \
+                                            ifindex,                                            \
+                                            force_exact_4,                                      \
+                                            force_exact_6,                                      \
+                                            ignore_ll6,                                         \
+                                            ...)                                                \
+    _nmtstp_platform_ip_addresses_assert(__FILE__,                                              \
+                                         __LINE__,                                              \
+                                         (self),                                                \
+                                         (ifindex),                                             \
+                                         (force_exact_4),                                       \
+                                         (force_exact_6),                                       \
+                                         (ignore_ll6),                                          \
+                                         NM_NARG(__VA_ARGS__),                                  \
+                                         ((const char *const[]) {"dummy", ##__VA_ARGS__, NULL}) \
                                              + 1)
 
 /*****************************************************************************/
@@ -540,7 +540,7 @@ gboolean nmtstp_ensure_module(const char *module_name);
 /*****************************************************************************/
 
 #define nmtst_object_new_mptcp_addr(...) \
-    nmp_object_new(NMP_OBJECT_TYPE_MPTCP_ADDR, &((const NMPlatformMptcpAddr){__VA_ARGS__}))
+    nmp_object_new(NMP_OBJECT_TYPE_MPTCP_ADDR, &((const NMPlatformMptcpAddr) {__VA_ARGS__}))
 
 /*****************************************************************************/