chiark / gitweb /
socket: fix bitfields in fd watches
[elogind.git] / manager.h
index a6c330ae21ceb57853b735716dd1d9058034b0ae..3790cfd281750ce15739c9358c2eeeebf2d7143f 100644 (file)
--- a/manager.h
+++ b/manager.h
@@ -71,9 +71,9 @@ struct Watch {
                 union Unit *unit;
                 DBusWatch *bus_watch;
                 DBusTimeout *bus_timeout;
-                bool socket_accept;
         } data;
-        bool fd_is_dupped;
+        bool fd_is_dupped:1;
+        bool socket_accept:1;
 };
 
 #include "unit.h"