From afeb2e36527b04c18c42a8ddaa9be3091115d0af Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sun, 7 Jan 2018 18:53:40 +0100 Subject: Make a few functions of static linkage Make functions in core/file.c, core/parse.c and core/import-csv.c that were not used outside their translation unit of static linkage. parse_date is moved from core/file.c to core/import-csv.c, since it is used only there. Signed-off-by: Berthold Stoeger --- core/parse-xml.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/parse-xml.c') diff --git a/core/parse-xml.c b/core/parse-xml.c index c077cac6c..b31eef90b 100644 --- a/core/parse-xml.c +++ b/core/parse-xml.c @@ -899,7 +899,7 @@ static void try_to_fill_sample(struct sample *sample, const char *name, char *bu nonmatch("sample", name, buf); } -void try_to_fill_userid(const char *name, char *buf) +static void try_to_fill_userid(const char *name, char *buf) { (void) name; if (prefs.save_userid_local) @@ -1557,7 +1557,7 @@ static void reset_all(void) * but once we decode the HTML encoded characters they turn * into UTF-8 instead. So skip the incorrect encoding * declaration and decode the HTML encoded characters */ -const char *preprocess_divelog_de(const char *buffer) +static const char *preprocess_divelog_de(const char *buffer) { char *ret = strstr(buffer, ""); -- cgit v1.2.3-70-g09d2