diff options
Diffstat (limited to 'tests/libtest')
-rw-r--r-- | tests/libtest/first.c | 3 | ||||
-rw-r--r-- | tests/libtest/test.h | 9 |
2 files changed, 5 insertions, 7 deletions
diff --git a/tests/libtest/first.c b/tests/libtest/first.c index a58755c41..d25c7ad28 100644 --- a/tests/libtest/first.c +++ b/tests/libtest/first.c @@ -16,9 +16,6 @@ extern void curl_memdebug(const char *); extern void curl_memlimit(int); #endif -/* test is provided in the test code file */ -int test(char *url); - int select_test (int num_fds, fd_set *rd, fd_set *wr, fd_set *exc, struct timeval *tv) { diff --git a/tests/libtest/test.h b/tests/libtest/test.h index ef85c346f..b4541c6c4 100644 --- a/tests/libtest/test.h +++ b/tests/libtest/test.h @@ -43,8 +43,9 @@ extern char *libtest_arg3; /* set by first.c to the argv[3] or NULL */ 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); +extern int select_test(int num_fds, fd_set *rd, fd_set *wr, fd_set *exc, + struct timeval *tv); + +extern int test(char *URL); /* the actual test function provided by each + individual libXXX.c file */ -int test(char *URL); /* the actual test function provided by each individual - libXXX.c file */ |