]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/unit.h
core: change type of distribute_fds() prototype to return void
[thirdparty/systemd.git] / src / core / unit.h
index 6f775c5ce100a539119336b080cb28879ffe0060..03d7d8de7f4ee6529ec19e923eea6443029b2af2 100644 (file)
@@ -322,7 +322,7 @@ struct UnitVTable {
         int (*deserialize_item)(Unit *u, const char *key, const char *data, FDSet *fds);
 
         /* Try to match up fds with what we need for this unit */
-        int (*distribute_fds)(Unit *u, FDSet *fds);
+        void (*distribute_fds)(Unit *u, FDSet *fds);
 
         /* Boils down the more complex internal state of this unit to
          * a simpler one that the engine can understand */
@@ -389,7 +389,7 @@ struct UnitVTable {
          * everything that is loaded here should still stay in
          * inactive state. It is the job of the coldplug() call above
          * to put the units into the initial state.  */
-        int (*enumerate)(Manager *m);
+        void (*enumerate)(Manager *m);
 
         /* Type specific cleanups. */
         void (*shutdown)(Manager *m);