diff options
Diffstat (limited to 'src/t/test_mod_simple_vhost.c')
-rw-r--r-- | src/t/test_mod_simple_vhost.c | 29 |
1 files changed, 3 insertions, 26 deletions
diff --git a/src/t/test_mod_simple_vhost.c b/src/t/test_mod_simple_vhost.c index e01784a6..26ff28a9 100644 --- a/src/t/test_mod_simple_vhost.c +++ b/src/t/test_mod_simple_vhost.c @@ -33,31 +33,8 @@ static void test_mod_simple_vhost_build_doc_root_path(void) { buffer_free(result); } -int main (void) { +void test_mod_simple_vhost (void); +void test_mod_simple_vhost (void) +{ test_mod_simple_vhost_build_doc_root_path(); - - return 0; -} - -/* - * stub functions - */ - -int stat_cache_path_isdir(const buffer *name) { - UNUSED(name); - return 1; -} - -int config_plugin_values_init(server *srv, void *p_d, const config_plugin_keys_t *cpk, const char *mname) { - UNUSED(srv); - UNUSED(p_d); - UNUSED(cpk); - UNUSED(mname); - return 0; -} - -int config_check_cond(request_st *r, int context_ndx) { - UNUSED(r); - UNUSED(context_ndx); - return 0; } |