Use variable[] instead of GCC variable[0] syntax
[fio.git] / server.h
index 624e4c0a49dfed37b9bd8e7f82304dcc4ad06a37..3a8b4c3a90eb6150e3b737b201e512fce75f7f52 100644 (file)
--- a/server.h
+++ b/server.h
@@ -25,7 +25,7 @@ struct fio_net_cmd {
         */
        uint16_t cmd_crc16;     /* cmd checksum */
        uint16_t pdu_crc16;     /* payload checksum */
-       uint8_t payload[0];     /* payload */
+       uint8_t payload[];      /* payload */
 };
 
 struct fio_net_int_cmd {
@@ -86,12 +86,12 @@ struct cmd_probe_pdu {
 
 struct cmd_single_line_pdu {
        uint16_t len;
-       uint8_t text[0];
+       uint8_t text[];
 };
 
 struct cmd_line_pdu {
        uint16_t lines;
-       struct cmd_single_line_pdu options[0];
+       struct cmd_single_line_pdu options[];
 };
 
 struct cmd_start_pdu {