From 88edb6642965d9c8f292c2bb0436490ae4cb499e Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Sun, 20 Jan 2008 23:53:46 +0100 Subject: [PATCH] Fix loadfilter prototype and make it static --- src/filters.c | 2 +- src/filters.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/filters.c b/src/filters.c index a8d34d2f..6f8e7e64 100644 --- a/src/filters.c +++ b/src/filters.c @@ -37,7 +37,7 @@ struct filterlist *filters = NULL; -void loadfilter(char *fn) { +static void loadfilter(const char *fn) { FILE *file; char linebuf[1024]; struct filterlist *filtertail; diff --git a/src/filters.h b/src/filters.h index c1de3087..f9ccaea0 100644 --- a/src/filters.h +++ b/src/filters.h @@ -21,7 +21,6 @@ #include "tarfn.h" -void loadfilter(char *fn); void loadfilters(void); int filter_should_skip(struct TarInfo *ti); -- 2.39.5