summaryrefslogtreecommitdiffstats
path: root/src/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.c b/src/util.c
index b534ffd..e9c0411 100644
--- a/src/util.c
+++ b/src/util.c
@@ -138,7 +138,7 @@ lilv_get_lang(void)
}
/** Append suffix to dst, update dst_len, and return the realloc'd result. */
-char*
+static char*
strappend(char* dst, size_t* dst_len, const char* suffix, size_t suffix_len)
{
dst = (char*)realloc(dst, *dst_len + suffix_len + 1);
@@ -148,7 +148,7 @@ strappend(char* dst, size_t* dst_len, const char* suffix, size_t suffix_len)
}
/** Append the value of the environment variable var to dst. */
-char*
+static char*
append_var(char* dst, size_t* dst_len, const char* var)
{
// Get value from environment