summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-25 13:59:02 +0200
committerraveit65 <[email protected]>2021-12-25 12:38:26 +0100
commit91cc381e3d2c72001c30c1966ed062a3a1f601d5 (patch)
tree30c601adbd82acf19b44ea82e9e0392ec4f2718d
parent6fc8f51520d5ea46ba8330e3b94a3660267c1672 (diff)
downloadengrampa-91cc381e3d2c72001c30c1966ed062a3a1f601d5.tar.bz2
engrampa-91cc381e3d2c72001c30c1966ed062a3a1f601d5.tar.xz
glib-utils: escape_str_common should be static
-rw-r--r--src/glib-utils.c2
-rw-r--r--src/glib-utils.h4
2 files changed, 1 insertions, 5 deletions
diff --git a/src/glib-utils.c b/src/glib-utils.c
index e120f88..8f3722b 100644
--- a/src/glib-utils.c
+++ b/src/glib-utils.c
@@ -118,7 +118,7 @@ count_chars_to_escape (const char *str,
return n;
}
-char*
+static char*
escape_str_common (const char *str,
const char *meta_chars,
const char prefix,
diff --git a/src/glib-utils.h b/src/glib-utils.h
index c43349a..6631892 100644
--- a/src/glib-utils.h
+++ b/src/glib-utils.h
@@ -41,10 +41,6 @@ char * str_substitute (const char *str,
const char *from_str,
const char *to_str);
int strcmp_null_tolerant (const char *s1, const char *s2);
-char* escape_str_common (const char *str,
- const char *meta_chars,
- const char prefix,
- const char postfix);
char* escape_str (const char *str,
const char *meta_chars);
gboolean match_regexps (GRegex **regexps,