diff options
author | paul <paul> | 2005-11-26 09:21:43 +0000 |
---|---|---|
committer | paul <paul> | 2005-11-26 09:21:43 +0000 |
commit | fe4262efe982d457544a991894349fee60bf42b5 (patch) | |
tree | c1228b208e0401e4d2501f0ccfc6d608100b0d00 /ospfd/ospf_api.c | |
parent | cb31079f2af524c95a233a722dad1534bbc62092 (diff) | |
download | quagga-fe4262efe982d457544a991894349fee60bf42b5.tar.bz2 quagga-fe4262efe982d457544a991894349fee60bf42b5.tar.xz |
[c99] change gcc zero-length array to C99 flexible array declaration
2005-11-26 Paul Jakma <paul.jakma@sun.com>
* buffer.c: (struct buffer_data) change gcc zero array
declaration to C99 incomplete array.
* stream.h: (struct stream) same
* ospf_api.c: (struct opaque_lsa) same
Diffstat (limited to 'ospfd/ospf_api.c')
-rw-r--r-- | ospfd/ospf_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_api.c b/ospfd/ospf_api.c index d9960d4a..9c9997ba 100644 --- a/ospfd/ospf_api.c +++ b/ospfd/ospf_api.c @@ -68,7 +68,7 @@ api_opaque_lsa_print (struct lsa_header *data) struct opaque_lsa { struct lsa_header header; - u_char mydata[0]; + u_char mydata[]; }; struct opaque_lsa *olsa; |