mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Move test_* function protoypes from test.c to test.h
* src/test.c: Remove test_* function prototypes, make tests_run static * src/test.h: Add test_* function protoypes
This commit is contained in:
parent
fd3a3245eb
commit
c6ac51d5bc
12
src/test.c
12
src/test.c
@ -41,19 +41,9 @@ as that of the covered work. */
|
||||
#error "TESTING not set!!!"
|
||||
#endif
|
||||
|
||||
const char *test_parse_content_disposition(void);
|
||||
const char *test_subdir_p(void);
|
||||
const char *test_dir_matches_p(void);
|
||||
const char *test_commands_sorted(void);
|
||||
const char *test_cmd_spec_restrict_file_names(void);
|
||||
const char *test_path_simplify (void);
|
||||
const char *test_append_uri_pathel(void);
|
||||
const char *test_are_urls_equal(void);
|
||||
const char *test_is_robots_txt_url(void);
|
||||
|
||||
const char *program_argstring = "TEST";
|
||||
|
||||
int tests_run;
|
||||
static int tests_run;
|
||||
|
||||
static const char *
|
||||
all_tests(void)
|
||||
|
@ -43,8 +43,6 @@ do { \
|
||||
puts("PASSED\n"); \
|
||||
} while (0)
|
||||
|
||||
extern int tests_run;
|
||||
|
||||
const char *test_parse_content_disposition(void);
|
||||
const char *test_commands_sorted(void);
|
||||
const char *test_cmd_spec_restrict_file_names(void);
|
||||
|
Loading…
Reference in New Issue
Block a user