]> git.draconx.ca Git - liblbx.git/blobdiff - src/lbx.c
Use gnulib flexmember module.
[liblbx.git] / src / lbx.c
index 17c68b15b63a75c7158aace0adfb325f2f9d2781..8080b67f3f74c3b747a76c205e107fe5c7ff51c3 100644 (file)
--- a/src/lbx.c
+++ b/src/lbx.c
@@ -42,7 +42,7 @@ struct lbx_priv {
 
        struct lbx_file_state *last_file;
 
-       unsigned long offsets[];
+       unsigned long offsets[FLEXIBLE_ARRAY_MEMBER];
 };
 
 struct lbx_file_state {