]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
varlink/network: reindent methods 31490/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 26 Feb 2024 04:42:01 +0000 (13:42 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 26 Feb 2024 04:42:37 +0000 (13:42 +0900)
src/shared/varlink-io.systemd.Network.c

index 7477d42de863a54c097e0abe94acd6974920acc9..feb1e52feb7d932fd5274ff243df367cce350ce7 100644 (file)
@@ -2,17 +2,19 @@
 
 #include "varlink-io.systemd.Network.h"
 
-static VARLINK_DEFINE_METHOD(GetStates,
-                             VARLINK_DEFINE_OUTPUT(AddressState, VARLINK_STRING, 0),
-                             VARLINK_DEFINE_OUTPUT(IPv4AddressState, VARLINK_STRING, 0),
-                             VARLINK_DEFINE_OUTPUT(IPv6AddressState, VARLINK_STRING, 0),
-                             VARLINK_DEFINE_OUTPUT(CarrierState, VARLINK_STRING, 0),
-                             VARLINK_DEFINE_OUTPUT(OnlineState, VARLINK_STRING, VARLINK_NULLABLE),
-                             VARLINK_DEFINE_OUTPUT(OperationalState, VARLINK_STRING, 0));
+static VARLINK_DEFINE_METHOD(
+                GetStates,
+                VARLINK_DEFINE_OUTPUT(AddressState, VARLINK_STRING, 0),
+                VARLINK_DEFINE_OUTPUT(IPv4AddressState, VARLINK_STRING, 0),
+                VARLINK_DEFINE_OUTPUT(IPv6AddressState, VARLINK_STRING, 0),
+                VARLINK_DEFINE_OUTPUT(CarrierState, VARLINK_STRING, 0),
+                VARLINK_DEFINE_OUTPUT(OnlineState, VARLINK_STRING, VARLINK_NULLABLE),
+                VARLINK_DEFINE_OUTPUT(OperationalState, VARLINK_STRING, 0));
 
-static VARLINK_DEFINE_METHOD(GetNamespaceId,
-                             VARLINK_DEFINE_OUTPUT(NamespaceId, VARLINK_INT, 0),
-                             VARLINK_DEFINE_OUTPUT(NamespaceNSID, VARLINK_INT, VARLINK_NULLABLE));
+static VARLINK_DEFINE_METHOD(
+                GetNamespaceId,
+                VARLINK_DEFINE_OUTPUT(NamespaceId, VARLINK_INT, 0),
+                VARLINK_DEFINE_OUTPUT(NamespaceNSID, VARLINK_INT, VARLINK_NULLABLE));
 
 VARLINK_DEFINE_INTERFACE(
                 io_systemd_Network,