cvs: php3 /functions/ levenshtein.c

From: Date: Tue, 23 May 2000 20:13:42 +0000
Subject: cvs: php3 /functions/ levenshtein.c
Groups: php.dev 
Request: Send a blank email to php-dev+get-19315@lists.php.net to get a copy of this message
hholzgra Tue May 23 22:13:42 2000 EDT Modified files: /php3/functions levenshtein.c Log: internal function now declared static and one little unimportant detail (cut&paste is evil :) Index: php3/functions/levenshtein.c diff -u php3/functions/levenshtein.c:1.2 php3/functions/levenshtein.c:1.3 --- php3/functions/levenshtein.c:1.2 Tue May 23 22:07:58 2000 +++ php3/functions/levenshtein.c Tue May 23 22:13:41 2000 @@ -23,13 +23,11 @@ | If you did not, or have any questions about PHP licensing, please | | contact core@php.net. | +----------------------------------------------------------------------+ - | Authors: Rasmus Lerdorf <rasmus@lerdorf.on.ca> | - | Stig Sæther Bakken <ssb@fast.no> | - | Zeev Suraski <bourbon@nevision.net.il> | + | Authors: Hartmut Holzgraefe <hartmut@six.de> | +----------------------------------------------------------------------+ */ -/* $Id: levenshtein.c,v 1.2 2000/05/23 20:07:58 hholzgra Exp $ */ +/* $Id: levenshtein.c,v 1.3 2000/05/23 20:13:41 hholzgra Exp $ */ #include <stdio.h> #include "php.h" @@ -38,7 +36,7 @@ #include "post.h" #include "php3_string.h" -int calc_levdist(const char *s1, const char *s2) /* faster, but obfuscated */ +static int calc_levdist(const char *s1, const char *s2) /* faster, but obfuscated */ { register char *p1,*p2; register int i,j,n;

« previous php.dev (#19315) next »