]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
systemctl: put static destructor in the order of variables
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 31 May 2021 09:12:16 +0000 (11:12 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 31 May 2021 10:17:19 +0000 (12:17 +0200)
src/systemctl/systemctl.c

index 16c1f394407faf847d5e4fd7dca31dab5deee111..a4100bd554bc909aed1ac0511bb0d64c13ab4714 100644 (file)
@@ -112,11 +112,11 @@ bool arg_read_only = false;
 bool arg_mkdir = false;
 bool arg_marked = false;
 
-STATIC_DESTRUCTOR_REGISTER(arg_wall, strv_freep);
-STATIC_DESTRUCTOR_REGISTER(arg_root, freep);
 STATIC_DESTRUCTOR_REGISTER(arg_types, strv_freep);
 STATIC_DESTRUCTOR_REGISTER(arg_states, strv_freep);
 STATIC_DESTRUCTOR_REGISTER(arg_properties, strv_freep);
+STATIC_DESTRUCTOR_REGISTER(arg_wall, strv_freep);
+STATIC_DESTRUCTOR_REGISTER(arg_root, freep);
 STATIC_DESTRUCTOR_REGISTER(arg_clean_what, strv_freep);
 
 static int systemctl_help(void) {