diff options
Diffstat (limited to 'src/util.h')
| -rw-r--r-- | src/util.h | 13 |
1 files changed, 1 insertions, 12 deletions
@@ -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 |
