- Neat function prototypes, unshadowed local declarations.

git-svn-id: file:///svn/unbound/trunk@2188 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards
2010-07-07 13:13:36 +00:00
parent 391e1912de
commit f042f0dd5d
58 changed files with 136 additions and 132 deletions
+3 -3
View File
@@ -82,14 +82,14 @@ testbound_usage()
/**
* Add options from string to passed argc. splits on whitespace.
* @param optarg: the option argument, "-v -p 12345" or so.
* @param args: the option argument, "-v -p 12345" or so.
* @param pass_argc: ptr to the argc for unbound. Modified.
* @param pass_argv: the argv to pass to unbound. Modified.
*/
static void
add_opts(const char* optarg, int* pass_argc, char* pass_argv[])
add_opts(const char* args, int* pass_argc, char* pass_argv[])
{
const char *p = optarg, *np;
const char *p = args, *np;
size_t len;
while(p && isspace((int)*p))
p++;