From 91cc381e3d2c72001c30c1966ed062a3a1f601d5 Mon Sep 17 00:00:00 2001 From: rbuj Date: Mon, 25 Oct 2021 13:59:02 +0200 Subject: glib-utils: escape_str_common should be static --- src/glib-utils.c | 2 +- src/glib-utils.h | 4 ---- 2 files changed, 1 insertion(+), 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, -- cgit v1.2.1