diff options
Diffstat (limited to 'ospfd')
-rw-r--r-- | ospfd/ChangeLog | 5 | ||||
-rw-r--r-- | ospfd/ospf_api.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ospfd/ChangeLog b/ospfd/ChangeLog index d202e29c..064ed839 100644 --- a/ospfd/ChangeLog +++ b/ospfd/ChangeLog @@ -1,3 +1,8 @@ +2005-11-26 Paul Jakma <paul.jakma@sun.com> + + * ospf_api.c: (struct opaque_lsa) change from gcc zero-length + array to C99 incomplete type array. + 2005-11-20 Paul Jakma <paul.jakma@sun.com> * ospfd.h: remove the OSPF_ROUTER_ID_UPDATE_DELAY define 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; |