]> git.pond.sub.org Git - empserver/blobdiff - include/nuke.h
Store sequence numbers more compactly
[empserver] / include / nuke.h
index d24a83edcb9d2d3bc6b884097370cc2713b57fb2..6a0db83fff36f56d4e8d92741aecee34084ffd9a 100644 (file)
@@ -42,9 +42,9 @@
 
 struct nukstr {
     /* initial part must match struct empobj */
-    short ef_type;
+    signed ef_type: 8;
+    unsigned nuk_seqno: 12;
     int nuk_uid;               /* unit id (nuke #) */
-    unsigned nuk_seqno;
     time_t nuk_timestamp;      /* Last time this nuke was touched */
     natid nuk_own;
     coord nuk_x, nuk_y;                /* current loc of device */