summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-06-10 19:12:57 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-06-10 19:12:57 +0000
commit26ca3a4ec6b07290445c8e097cad7c8d15dd0203 (patch)
tree9a3861a7fed7d1483cdfb07525d7596dee3f5405
parentfe3884ba08498fb6bbfc15c04114d54e54e74e95 (diff)
downloadzsh-26ca3a4ec6b07290445c8e097cad7c8d15dd0203.tar.gz
zsh-26ca3a4ec6b07290445c8e097cad7c8d15dd0203.tar.xz
zsh-26ca3a4ec6b07290445c8e097cad7c8d15dd0203.zip
Mikael: 25146: export pattern_match_equivalence()
-rw-r--r--ChangeLog5
-rw-r--r--Src/Zle/compmatch.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ee47e19ab..fe9bfb30a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-06-10  Peter Stephenson  <p.w.stephenson@ntlworld.com>
+
+	* Mikael: 25146: Src/Zle/compmatch.c:
+	pattern_match_equivalence() needs to be exported.
+
 2008-06-10  Peter Stephenson  <pws@csr.com>
 
 	* 25144: Src/builtin.c, Src/math.c, Src/utils.c plus unposted
diff --git a/Src/Zle/compmatch.c b/Src/Zle/compmatch.c
index 93e0049a6..dfb812760 100644
--- a/Src/Zle/compmatch.c
+++ b/Src/Zle/compmatch.c
@@ -1199,7 +1199,9 @@ pattern_match1(Cpattern p, int c, int *mtp)
  * Only makes sense if lp->tp == CPAT_EQUIV and the (unseen) word
  * pattern also has that type.
  */
-static int
+
+/**/
+mod_export int
 pattern_match_equivalence(Cpattern lp, int wind, int wmtp, int wchr)
 {
     int lchr, lmtp;