Linux 5.1.15
[linux/fpc-iii.git] / tools / perf / util / levenshtein.h
blob34ca173c557d9e4191aa65cfbc9ea34b2af3abcc
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __PERF_LEVENSHTEIN_H
3 #define __PERF_LEVENSHTEIN_H
5 int levenshtein(const char *string1, const char *string2,
6 int swap_penalty, int substition_penalty,
7 int insertion_penalty, int deletion_penalty);
9 #endif /* __PERF_LEVENSHTEIN_H */