xref: /openbmc/linux/tools/perf/util/levenshtein.h (revision 82e6fdd6)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __PERF_LEVENSHTEIN_H
3 #define __PERF_LEVENSHTEIN_H
4 
5 int levenshtein(const char *string1, const char *string2,
6 	int swap_penalty, int substition_penalty,
7 	int insertion_penalty, int deletion_penalty);
8 
9 #endif /* __PERF_LEVENSHTEIN_H */
10