summary refs log tree commit diff
path: root/src/core/tests/test-systemd.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2022-02-14 19:23:28 +0100
committerMichael Biebl <biebl@debian.org>2022-02-14 19:23:28 +0100
commit2f94dba7385fd0e0ef19a06eb4a2fcf6c43d7946 (patch)
treee2222f5577115985dd52044d2991253403cdd952 /src/core/tests/test-systemd.c
parent88c227d90a6b7b388c5c85d72802a0ca8f05ed5c (diff)
New upstream version 1.35.91 upstream/1.35.91
Diffstat (limited to 'src/core/tests/test-systemd.c')
-rw-r--r--src/core/tests/test-systemd.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/core/tests/test-systemd.c b/src/core/tests/test-systemd.c
index be070248..71a6a60d 100644
--- a/src/core/tests/test-systemd.c
+++ b/src/core/tests/test-systemd.c
@@ -49,7 +49,7 @@ test_lldp_create(void)
 /*****************************************************************************/
 
 typedef struct {
-    GMainLoop *      mainloop;
+    GMainLoop       *mainloop;
     sd_event_source *event_source;
 } TestSdEventData;
 
@@ -76,7 +76,7 @@ test_sd_event(void)
         guint           sd_id = 0;
         int             r;
         int             i, n;
-        sd_event *      other_events[3] = {NULL}, *event = NULL;
+        sd_event       *other_events[3] = {NULL}, *event = NULL;
         TestSdEventData user_data = {0};
 
         g_assert_cmpint(sd_event_default(NULL), ==, 0);
@@ -125,10 +125,10 @@ test_path_equal(void)
 #define _path_equal_check(path, expected)                \
     G_STMT_START                                         \
     {                                                    \
-        const char *  _path0    = (path);                \
-        const char *  _expected = (expected);            \
+        const char   *_path0    = (path);                \
+        const char   *_expected = (expected);            \
         gs_free char *_path     = g_strdup(_path0);      \
-        const char *  _path_result;                      \
+        const char   *_path_result;                      \
                                                          \
         _path_result = nm_sd_utils_path_simplify(_path); \
         g_assert(_path_result == _path);                 \
@@ -177,8 +177,8 @@ _test_unbase64char(char ch, gboolean maybe_invalid)
 static void
 _test_unbase64mem_mem(const char *base64, const guint8 *expected_arr, gsize expected_len)
 {
-    gs_free char *expected_base64 = NULL;
-    int           r;
+    gs_free char        *expected_base64 = NULL;
+    int                  r;
     nm_auto_free guint8 *exp2_arr = NULL;
     nm_auto_free guint8 *exp3_arr = NULL;
     gsize                exp2_len;