Revision 6720e95b305737fddc776f2904c339a0701e6ae2 authored by René Scharfe on 26 December 2008, 10:12:15 UTC, committed by Junio C Hamano on 27 December 2008, 03:09:56 UTC
Add xstrdup_tolower(), a helper to get a lower case copy of a
string, and use it in two cases.

Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent a583971
Raw File
levenshtein.h
#ifndef LEVENSHTEIN_H
#define LEVENSHTEIN_H

int levenshtein(const char *string1, const char *string2,
	int swap_penalty, int substition_penalty,
	int insertion_penalty, int deletion_penalty);

#endif
back to top