]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/libsystemd-network/dhcp-protocol.h
sd-network: stop using fake flexible array
[thirdparty/systemd.git] / src / libsystemd-network / dhcp-protocol.h
index c4972d144c238c2cff5d708a8846278d50f483c0..062ce006f30ff601222e7b2ee8f33acddba488ef 100644 (file)
@@ -28,7 +28,7 @@ struct DHCPMessage {
         uint8_t sname[64];
         uint8_t file[128];
         be32_t magic;
-        uint8_t options[0];
+        uint8_t options[];
 } _packed_;
 
 typedef struct DHCPMessage DHCPMessage;