aboutsummaryrefslogtreecommitdiff
path: root/sys/netgraph
diff options
context:
space:
mode:
authorHartmut Brandt <harti@FreeBSD.org>2003-10-22 07:35:05 +0000
committerHartmut Brandt <harti@FreeBSD.org>2003-10-22 07:35:05 +0000
commit0eecad8da7ff500cfe83bcbe04138958050a0ec7 (patch)
tree0f50db4a1b35b14b0375cb921b3b04d6a2e9dae8 /sys/netgraph
parentcfa42d3692ab098a1da226d93e6d3e37dd247460 (diff)
Notes
Diffstat (limited to 'sys/netgraph')
-rw-r--r--sys/netgraph/ng_message.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netgraph/ng_message.h b/sys/netgraph/ng_message.h
index ea6b35f3e72b..5ae4b44f28e1 100644
--- a/sys/netgraph/ng_message.h
+++ b/sys/netgraph/ng_message.h
@@ -63,7 +63,7 @@ struct ng_mesg {
u_int32_t cmd; /* command identifier */
u_char cmdstr[NG_CMDSTRLEN+1]; /* cmd string + \0 */
} header;
- char data[0]; /* placeholder for actual data */
+ char data[]; /* placeholder for actual data */
};
/* this command is guaranteed to not alter data or'd into the command */
@@ -236,7 +236,7 @@ struct linkinfo {
struct hooklist {
struct nodeinfo nodeinfo; /* node information */
- struct linkinfo link[0]; /* info about each hook */
+ struct linkinfo link[]; /* info about each hook */
};
/* Keep this in sync with the above structure definition */
@@ -249,7 +249,7 @@ struct hooklist {
/* Structure used for NGM_LISTNAMES/NGM_LISTNODES */
struct namelist {
u_int32_t numnames;
- struct nodeinfo nodeinfo[0];
+ struct nodeinfo nodeinfo[];
};
/* Keep this in sync with the above structure definition */
@@ -274,7 +274,7 @@ struct typeinfo {
struct typelist {
u_int32_t numtypes;
- struct typeinfo typeinfo[0];
+ struct typeinfo typeinfo[];
};
/* Keep this in sync with the above structure definition */