From c6ac51d5bc6edcfe833b84af98429acde2b268fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20R=C3=BChsen?= Date: Sat, 13 Jun 2015 22:34:36 +0200 Subject: [PATCH] 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 --- src/test.c | 12 +----------- src/test.h | 2 -- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/src/test.c b/src/test.c index e8e36698..833bc2d7 100644 --- a/src/test.c +++ b/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) diff --git a/src/test.h b/src/test.h index e60c2928..abccc6d7 100644 --- a/src/test.h +++ b/src/test.h @@ -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);