diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2019-01-12 23:06:39 +0000 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2019-05-19 11:10:08 +0100 |
commit | 02683b20c0775dab28d72727cc97a96ec77cb20c (patch) | |
tree | af4fc1c23a5ca20b94ebdf6b0603b88fff686670 /src/userdiff.h | |
parent | c9f116f148c9eb64988eb36ec83d1a653dc81ee0 (diff) | |
download | libgit2-02683b20c0775dab28d72727cc97a96ec77cb20c.tar.gz |
regexec: prefix all regexec function calls with p_
Prefix all the calls to the the regexec family of functions with `p_`.
This allows us to swap out all the regular expression functions with our
own implementation. Move the declarations to `posix_regex.h` for
simpler inclusion.
Diffstat (limited to 'src/userdiff.h')
-rw-r--r-- | src/userdiff.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/userdiff.h b/src/userdiff.h index 91c1f42dc..8bde6303f 100644 --- a/src/userdiff.h +++ b/src/userdiff.h @@ -29,7 +29,7 @@ typedef struct { #define PATTERNS(NAME, FN_PATS, WORD_PAT) \ { NAME, FN_PATS, WORD_PAT WORD_DEFAULT, 0 } #define IPATTERN(NAME, FN_PATS, WORD_PAT) \ - { NAME, FN_PATS, WORD_PAT WORD_DEFAULT, REG_ICASE } + { NAME, FN_PATS, WORD_PAT WORD_DEFAULT, P_REG_ICASE } /* * The table of diff driver patterns |