aboutsummaryrefslogtreecommitdiff
path: root/include/stringop.h
diff options
context:
space:
mode:
authorIan Fan <ianfan0@gmail.com>2019-01-17 16:47:44 +0000
committeremersion <contact@emersion.fr>2019-03-11 14:42:58 +0100
commit5c8424c0743c36b11baabe8b316ee6daecd0cfb8 (patch)
treef29b11a1230d2dd85aba556d3c9647737808e09b /include/stringop.h
parent017a7c4da169ace601f282c87a9aaabc138a34d3 (diff)
stringop.c: remove unused functions
The only use of `join_list` in swaybar/tray/icon.c has been rewritten.
Diffstat (limited to 'include/stringop.h')
-rw-r--r--include/stringop.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/stringop.h b/include/stringop.h
index f7ca60a5..6f920999 100644
--- a/include/stringop.h
+++ b/include/stringop.h
@@ -4,7 +4,6 @@
#include "list.h"
void strip_whitespace(char *str);
-char *strip_comments(char *str);
void strip_quotes(char *str);
// strcat that does nothing if dest or src is NULL
@@ -21,22 +20,10 @@ list_t *split_string(const char *str, const char *delims);
char **split_args(const char *str, int *argc);
void free_argv(int argc, char **argv);
-char *code_strchr(const char *string, char delimiter);
-char *code_strstr(const char *haystack, const char *needle);
int unescape_string(char *string);
char *join_args(char **argv, int argc);
-char *join_list(list_t *list, char *separator);
-/**
- * Add quotes around any argv with whitespaces.
- */
-void add_quotes(char **argv, int argc);
-
-// split string into 2 by delim.
-char *cmdsep(char **stringp, const char *delim);
// Split string into 2 by delim, handle quotes
char *argsep(char **stringp, const char *delim);
-const char *strcasestr(const char *haystack, const char *needle);
-
#endif