summaryrefslogtreecommitdiff
path: root/tests/libtest/test.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-09-18 16:21:09 +0000
committerYang Tse <yangsita@gmail.com>2008-09-18 16:21:09 +0000
commita6c915aab98a51b69a77a23ebe1ad8eaf0fd251f (patch)
tree197a1708904aad5274994d0232b0e7edf8fdae01 /tests/libtest/test.h
parenta8323cc3f5f3ab0621e14ebf543a870feed2280e (diff)
downloadcurl-a6c915aab98a51b69a77a23ebe1ad8eaf0fd251f.tar.gz
fix compiler warning: external declaration in primary source file
Diffstat (limited to 'tests/libtest/test.h')
-rw-r--r--tests/libtest/test.h9
1 files changed, 5 insertions, 4 deletions
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 */