summaryrefslogtreecommitdiff
path: root/src/errors.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-09-28 17:32:18 +0100
committerGitHub <noreply@github.com>2019-09-28 17:32:18 +0100
commit63307cbad7408b38693e73b74560a063da21f530 (patch)
tree91c5020c06715623cf83e631e5e3247d2d7e6d02 /src/errors.h
parent70325370667370159d5b85690c6dd5db17be3b20 (diff)
parentf585b129e242bacb4cbecc30a6af727e5b4c2f28 (diff)
downloadlibgit2-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.h7
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