about summary refs log tree commit diff
path: root/src/core/tests/test-systemd.c
diff options
context:
space:
mode:
authorJeremy Bicha <jeremy.bicha@canonical.com>2022-02-22 16:46:07 -0500
committerJeremy Bicha <jeremy.bicha@canonical.com>2022-02-22 16:46:07 -0500
commit297ac7f51b68aaa0e281336e6c6154bb2c913580 (patch)
treeff98cec3cc8eeb03b58cfeae184f2da4bfa6c93f /src/core/tests/test-systemd.c
parentc713c9f47084b639644c0b9a8bb04faa3ccd21e3 (diff)
parent7d8baf4ac0480a542f000c1201df85427a22332c (diff)
Update to upstream version '1.35.90
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;