summaryrefslogtreecommitdiffstats
path: root/lib/stream.h
diff options
context:
space:
mode:
authorpaul <paul>2005-11-26 10:21:43 +0100
committerpaul <paul>2005-11-26 10:21:43 +0100
commit00c290e02edd6c906b669de9f31a45d14ed8bec0 (patch)
tree5d81084291d38b18144e6f53847026d24587b400 /lib/stream.h
parent[zebra] fix connected_add_ipv6 declarations, label should be const. (diff)
downloadfrr-00c290e02edd6c906b669de9f31a45d14ed8bec0.tar.xz
frr-00c290e02edd6c906b669de9f31a45d14ed8bec0.zip
[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 'lib/stream.h')
-rw-r--r--lib/stream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stream.h b/lib/stream.h
index 4753f8298..564fa3ca6 100644
--- a/lib/stream.h
+++ b/lib/stream.h
@@ -103,7 +103,7 @@ struct stream
size_t getp; /* next get position */
size_t endp; /* last valid data position */
size_t size; /* size of data segment */
- unsigned char data[0]; /* data pointer */
+ unsigned char data[]; /* data pointer */
};
/* First in first out queue structure. */