]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
bus-locator: sort the list
authorDavid Tardon <dtardon@redhat.com>
Wed, 24 May 2023 06:47:25 +0000 (08:47 +0200)
committerDavid Tardon <dtardon@redhat.com>
Wed, 24 May 2023 06:50:02 +0000 (08:50 +0200)
src/shared/bus-locator.h

index aa155b770b17a29919535d8af46e6fb5affa70fe..4f50a9727f560c34d742bbeeb375aa554fac08cb 100644 (file)
@@ -10,6 +10,7 @@ typedef struct BusLocator {
 } BusLocator;
 
 extern const BusLocator* const bus_home_mgr;
+extern const BusLocator* const bus_hostname;
 extern const BusLocator* const bus_import_mgr;
 extern const BusLocator* const bus_locale;
 extern const BusLocator* const bus_login_mgr;
@@ -21,7 +22,6 @@ extern const BusLocator* const bus_resolve_mgr;
 extern const BusLocator* const bus_systemd_mgr;
 extern const BusLocator* const bus_timedate;
 extern const BusLocator* const bus_timesync_mgr;
-extern const BusLocator* const bus_hostname;
 
 /* Shorthand flavors of the sd-bus convenience helpers with destination,path,interface strings encapsulated
  * within a single struct. */