let's just export the whole argc + argv pair globally so that each test tool

can take advantage of it however they see fit!
This commit is contained in:
Daniel Stenberg 2007-07-15 20:59:43 +00:00
parent dab569d76c
commit 1da3192d2d
2 changed files with 11 additions and 0 deletions

View file

@ -39,6 +39,10 @@
extern char *arg2; /* set by first.c to the argv[2] or NULL */
extern char *arg3; /* set by first.c to the argv[3] or NULL */
/* argc and argv as passed in to the main() function */
extern int test_argc;
extern char **test_argv;
int select_test (int num_fds, fd_set *rd, fd_set *wr, fd_set *exc,
struct timeval *tv);