summaryrefslogtreecommitdiff
path: root/ext/standard/levenshtein.c
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2000-08-01 07:57:19 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2000-08-01 07:57:19 +0000
commitb59e98b87cdd25d3987a77b75fcbfa46c75ed37d (patch)
tree9d92dfe400052272bb6b53be891e8612f0b18252 /ext/standard/levenshtein.c
parentea5ab044bfd897b56f2a36e177869d45279624ba (diff)
downloadphp-git-b59e98b87cdd25d3987a77b75fcbfa46c75ed37d.tar.gz
"undefined function" error message will now suggest similar named
functions as jikes compiler for java does (typo protection)
Diffstat (limited to 'ext/standard/levenshtein.c')
-rw-r--r--ext/standard/levenshtein.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/levenshtein.c b/ext/standard/levenshtein.c
index 002f9fabe9..24b0e22a28 100644
--- a/ext/standard/levenshtein.c
+++ b/ext/standard/levenshtein.c
@@ -24,7 +24,7 @@
#include "php_string.h"
/* faster, but obfuscated, all operations have a cost of 1 */
-static int fastest_levdist(const char *s1, const char *s2)
+int fastest_levdist(const char *s1, const char *s2)
{
register char *p1,*p2;
register int i,j,n;