projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix copy/paste bug: Use unique name for compiler warnings.
[gnulib.git]
/
tests
/
test-argp.c
diff --git
a/tests/test-argp.c
b/tests/test-argp.c
index
675951f
..
85de5f4
100644
(file)
--- a/
tests/test-argp.c
+++ b/
tests/test-argp.c
@@
-262,20
+262,20
@@
struct argp test_argp = {
#define INIT_TEST_COMMON(n) \
int argc = NARGS (argv); \
struct test_args test_args; \
#define INIT_TEST_COMMON(n) \
int argc = NARGS (argv); \
struct test_args test_args; \
- init_args
(test_args);
\
+ init_args
(test_args);
\
test_number = n;
#define INIT_TEST1(n, arg1) \
char *argv[] = { ARGV0, arg1, NULL }; \
test_number = n;
#define INIT_TEST1(n, arg1) \
char *argv[] = { ARGV0, arg1, NULL }; \
- INIT_TEST_COMMON(n)
+ INIT_TEST_COMMON
(n)
#define INIT_TEST2(n, arg1, arg2) \
char *argv[] = { ARGV0, arg1, arg2, NULL }; \
#define INIT_TEST2(n, arg1, arg2) \
char *argv[] = { ARGV0, arg1, arg2, NULL }; \
- INIT_TEST_COMMON(n)
+ INIT_TEST_COMMON
(n)
#define INIT_TEST3(n, arg1, arg2, arg3) \
char *argv[] = { ARGV0, arg1, arg2, arg3, NULL }; \
#define INIT_TEST3(n, arg1, arg2, arg3) \
char *argv[] = { ARGV0, arg1, arg2, arg3, NULL }; \
- INIT_TEST_COMMON(n)
+ INIT_TEST_COMMON
(n)
int test_number;
unsigned failure_count = 0;
int test_number;
unsigned failure_count = 0;
@@
-348,7
+348,7
@@
test6 (struct argp *argp)
void
test_optional (struct argp *argp, int argc, char **argv,
void
test_optional (struct argp *argp, int argc, char **argv,
- struct test_args *args, c
har *val,
char *a)
+ struct test_args *args, c
onst char *val, const
char *a)
{
int index;
if (argp_parse (argp, argc, argv, 0, &index, args))
{
int index;
if (argp_parse (argp, argc, argv, 0, &index, args))