diff options
author | 2018-01-07 18:53:40 +0100 | |
---|---|---|
committer | 2018-01-08 09:52:55 +0200 | |
commit | afeb2e36527b04c18c42a8ddaa9be3091115d0af (patch) | |
tree | 28fbbb0aa48dd130f5c785a07383556cba89024e /core/parse-xml.c | |
parent | fa5865a5664126e11bb6a9f5d456cd1c410a3fc1 (diff) | |
download | subsurface-afeb2e36527b04c18c42a8ddaa9be3091115d0af.tar.gz |
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 <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/parse-xml.c')
-rw-r--r-- | core/parse-xml.c | 4 |
1 files changed, 2 insertions, 2 deletions
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, "<DIVELOGSDATA>"); |