diff options
| author | Patrick Steinhardt <ps@pks.im> | 2019-09-12 14:29:28 +0200 |
|---|---|---|
| committer | Patrick Steinhardt <ps@pks.im> | 2019-09-21 15:26:19 +0200 |
| commit | f585b129e242bacb4cbecc30a6af727e5b4c2f28 (patch) | |
| tree | fda5c90badddc8258972140ec25fe9d02f6b6cff /src/errors.h | |
| parent | 7aacf0272560c793ff527722560d522bc596f209 (diff) | |
| download | libgit2-f585b129e242bacb4cbecc30a6af727e5b4c2f28.tar.gz | |
posix: remove superseded POSIX regex wrappers
The old POSIX regex wrappers have been superseded by our own regexp API
that provides a higher-level abstraction. Remove the POSIX wrappers in
favor of the new one.
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 |
