summaryrefslogtreecommitdiff
path: root/utils/utils.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-10-25 23:06:18 +0100
committerVincent Sanders <vince@kyllikki.org>2014-10-25 23:07:00 +0100
commite39606c411bad57de5891965628f6ac278df42ee (patch)
tree697c5404c0a9bbe616bada833db7bb52df9bd778 /utils/utils.h
parentdf89f689f7ddcb082b4616c6e32cabbb859b3a11 (diff)
downloadnetsurf-e39606c411bad57de5891965628f6ac278df42ee.tar.gz
netsurf-e39606c411bad57de5891965628f6ac278df42ee.tar.bz2
make regex wrapper return errors instead of just aborting
Diffstat (limited to 'utils/utils.h')
-rw-r--r--utils/utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/utils.h b/utils/utils.h
index 80298a4a7..9be859e59 100644
--- a/utils/utils.h
+++ b/utils/utils.h
@@ -163,7 +163,7 @@ bool is_dir(const char *path);
*
* Parameters as for regcomp(), see man regex.
*/
-void regcomp_wrapper(regex_t *preg, const char *regex, int cflags);
+nserror regcomp_wrapper(regex_t *preg, const char *regex, int cflags);
/**
* Create a human redable representation of a size in bytes.