Don't use empty braces ("{}") to initialise arrays. This is a syntax

error in ISO C (both 90 and 99).
This commit is contained in:
Stefan Farfeleder 2006-07-17 08:35:47 +00:00
parent cabdf61c75
commit c3759b3a3f
6 changed files with 6 additions and 6 deletions

View File

@ -54,7 +54,7 @@ const struct ngcmd config_cmd = {
"config <path> [arguments]",
"get or set configuration of node at <path>",
NULL,
{}
{ NULL }
};
static int

View File

@ -54,7 +54,7 @@ const struct ngcmd debug_cmd = {
" debugging verbosity level. If the argument is ``+'' or ``-''"
" the debug level is incremented or decremented; otherwise,"
" it must be an absolute numerical level.",
{}
{ NULL }
};
static int

View File

@ -54,7 +54,7 @@ const struct ngcmd mkpeer_cmd = {
" connection are \"hook\" on the original node and \"peerhook\""
" on the new node."
" If \"path\" is omitted then \".\" is assumed.",
{}
{ NULL }
};
static int

View File

@ -51,7 +51,7 @@ const struct ngcmd name_cmd = {
"name <path> <name>",
"Assign name <name> to the node at <path>",
NULL,
{}
{ NULL }
};
static int

View File

@ -53,7 +53,7 @@ const struct ngcmd status_cmd = {
"status <path>",
"Get human readable status information from the node at <path>",
NULL,
{}
{ NULL }
};
static int

View File

@ -52,7 +52,7 @@ const struct ngcmd types_cmd = {
"types",
"Show information about all installed node types",
NULL,
{}
{ NULL }
};
static int