From 844ec79b3c2f246114ea316ebe1f36044bdb688e Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Thu, 28 Mar 2013 20:17:24 -0400 Subject: catalog: open up catalog internals In order to write tests for the catalog functions, they are made non-static and start taking a 'database' parameter, which is the name of a file with the preprocessed catalog entries. This makes it possible to make test-catalog part of the normal test suite, since it now only operates on files in /tmp. Some more tests are added. --- src/shared/conf-files.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shared/conf-files.h') diff --git a/src/shared/conf-files.h b/src/shared/conf-files.h index 28588e6f03..3bd3d2f3d4 100644 --- a/src/shared/conf-files.h +++ b/src/shared/conf-files.h @@ -26,7 +26,7 @@ #include "macro.h" int conf_files_list(char ***strv, const char *suffix, const char *root, const char *dir, ...); -int conf_files_list_strv(char ***strv, const char *suffix, const char *root, const char **dirs); +int conf_files_list_strv(char ***strv, const char *suffix, const char *root, const char* const* dirs); int conf_files_list_nulstr(char ***strv, const char *suffix, const char *root, const char *dirs); #endif -- cgit v1.2.3-54-g00ecf