diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2019-09-28 17:32:18 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-28 17:32:18 +0100 |
| commit | 63307cbad7408b38693e73b74560a063da21f530 (patch) | |
| tree | 91c5020c06715623cf83e631e5e3247d2d7e6d02 /src/errors.h | |
| parent | 70325370667370159d5b85690c6dd5db17be3b20 (diff) | |
| parent | f585b129e242bacb4cbecc30a6af727e5b4c2f28 (diff) | |
| download | libgit2-63307cbad7408b38693e73b74560a063da21f530.tar.gz | |
Merge pull request #5226 from pks-t/pks/regexp-api
regexp: implement a new regular expression API
Diffstat (limited to 'src/errors.h')
| -rw-r--r-- | src/errors.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/errors.h b/src/errors.h index 86f06f9c7..a2f60f752 100644 --- a/src/errors.h +++ b/src/errors.h @@ -8,7 +8,6 @@ #ifndef INCLUDE_errors_h__ #define INCLUDE_errors_h__ -#include "posix_regex.h" #include "common.h" /* @@ -18,12 +17,6 @@ void git_error_set(int error_class, const char *fmt, ...) GIT_FORMAT_PRINTF(2, 3 void git_error_vset(int error_class, const char *fmt, va_list ap); /** - * Set the error message for a regex failure, using the internal regex - * error code lookup and return a libgit error code. - */ -int git_error_set_regex(const p_regex_t *regex, int error_code); - -/** * Set error message for user callback if needed. * * If the error code in non-zero and no error message is set, this |
