summaryrefslogtreecommitdiff
path: root/src/t/test_mod_ssi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/t/test_mod_ssi.c')
-rw-r--r--src/t/test_mod_ssi.c23
1 files changed, 2 insertions, 21 deletions
diff --git a/src/t/test_mod_ssi.c b/src/t/test_mod_ssi.c
index 7c64dd02..8eb7b34b 100644
--- a/src/t/test_mod_ssi.c
+++ b/src/t/test_mod_ssi.c
@@ -137,7 +137,8 @@ test_mod_ssi_read_fd (request_st * const r, handler_ctx * const hctx)
close(fd);
}
-int main (void)
+void test_mod_ssi (void);
+void test_mod_ssi (void)
{
plugin_data * const p = mod_ssi_init();
assert(NULL != p);
@@ -169,24 +170,4 @@ int main (void)
mod_ssi_free(p);
free(p);
stat_cache_free();
- return 0;
-}
-
-
-/*
- * stub functions
- */
-
-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;
}