From 23f625f4848f55342283b6ebc471735c14360bb1 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Tue, 25 Aug 2020 17:15:22 +0200 Subject: [PATCH] Declare get_last_url() static Sponsored by: Robert Klemme --- filters.c | 2 +- filters.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/filters.c b/filters.c index 0c338907..c7e71f85 100644 --- a/filters.c +++ b/filters.c @@ -1050,7 +1050,7 @@ char *rewrite_url(char *old_url, const char *pcrs_command) * the last URL found. * *********************************************************************/ -char *get_last_url(char *subject, const char *redirect_mode) +static char *get_last_url(char *subject, const char *redirect_mode) { char *new_url = NULL; char *tmp; diff --git a/filters.h b/filters.h index b8004fec..6b603fc1 100644 --- a/filters.h +++ b/filters.h @@ -86,7 +86,6 @@ extern const struct forward_spec *forward_url(struct client_state *csp, extern char *execute_content_filters(struct client_state *csp); extern char *execute_single_pcrs_command(char *subject, const char *pcrs_command, int *hits); extern char *rewrite_url(char *old_url, const char *pcrs_command); -extern char *get_last_url(char *subject, const char *redirect_mode); extern pcrs_job *compile_dynamic_pcrs_job_list(const struct client_state *csp, const struct re_filterfile_spec *b); -- 2.39.2