aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/util.h b/src/util.h
index d7cb6bd..770790d 100644
--- a/src/util.h
+++ b/src/util.h
@@ -8,15 +8,6 @@
#define unreachable() log_panic("Unreachable code");
-typedef struct {
- char *key;
- char *value;
-} pair_t;
-
-void pair_copy(pair_t *copy, const pair_t *pair);
-
-void pair_free(pair_t *pair);
-
// Color representation normalized to [0, 1]
//
typedef struct {
@@ -61,8 +52,6 @@ bool strfind(const char *string, const char *cases[]);
size_t strprefix(const char *string, const char *prefix);
-size_t strcount(const char *string, const char *subs[]);
-
-char *strformat(const char *string, const char *keys[], const char *values[]);
+char *strformat(const char *string, char delim, const char *keys[], const char *values[]);
#endif