summaryrefslogtreecommitdiff
path: root/src/shared/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/util.c')
-rw-r--r--src/shared/util.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/shared/util.c b/src/shared/util.c
index e1a1168456..9e8cd54d04 100644
--- a/src/shared/util.c
+++ b/src/shared/util.c
@@ -920,12 +920,6 @@ char *delete_chars(char *s, const char *bad) {
return s;
}
-bool in_charset(const char *s, const char* charset) {
- assert(s);
- assert(charset);
- return s[strspn(s, charset)] == '\0';
-}
-
char *file_in_same_dir(const char *path, const char *filename) {
char *e, *r;
size_t k;