diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-04-20 23:33:31 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-04-20 23:33:31 +0100 |
commit | 7ba291037b1dbd0cd205ba07e6444293596a3761 (patch) | |
tree | 15f9da3418f6347aae2ea1212f5450c0ca0e5355 /utils/utils.h | |
parent | 10ef7b3f1dad2798af7c0c9e0311ea30c26bdf51 (diff) | |
download | netsurf-7ba291037b1dbd0cd205ba07e6444293596a3761.tar.gz netsurf-7ba291037b1dbd0cd205ba07e6444293596a3761.tar.bz2 |
move regex helper to be with teh single remaining call site
Diffstat (limited to 'utils/utils.h')
-rw-r--r-- | utils/utils.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/utils/utils.h b/utils/utils.h index 5fa521c01..6121ebe44 100644 --- a/utils/utils.h +++ b/utils/utils.h @@ -31,7 +31,6 @@ #include <stddef.h> #include <stdlib.h> #include <sys/types.h> -#include <regex.h> #include <assert.h> #include <stdarg.h> @@ -153,13 +152,6 @@ char *cnv_space2nbsp(const char *s); bool is_dir(const char *path); /** - * Compile a regular expression, handling errors. - * - * Parameters as for regcomp(), see man regex. - */ -nserror regcomp_wrapper(regex_t *preg, const char *regex, int cflags); - -/** * Create a human redable representation of a size in bytes. * * Does a simple conversion which assumes the user speaks English. |