diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-04-27 08:02:14 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-27 09:05:08 +0200 |
commit | 148be2c15d4a866fbc7a8f55342e4fd4de73be61 (patch) | |
tree | a99f8c85552166f187a233ce29eb442f27fe620d /Documentation/perf_counter/util/levenshtein.h | |
parent | f1f9b3b1795da8625e0e6096813c9d18d4a344ce (diff) | |
download | talos-obmc-linux-148be2c15d4a866fbc7a8f55342e4fd4de73be61.tar.gz talos-obmc-linux-148be2c15d4a866fbc7a8f55342e4fd4de73be61.zip |
perf_counter tools: move helper library to util/*
Clean up the top level directory a bit by moving all the helper libraries
to util/*.[ch].
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'Documentation/perf_counter/util/levenshtein.h')
-rw-r--r-- | Documentation/perf_counter/util/levenshtein.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/perf_counter/util/levenshtein.h b/Documentation/perf_counter/util/levenshtein.h new file mode 100644 index 000000000000..0173abeef52c --- /dev/null +++ b/Documentation/perf_counter/util/levenshtein.h @@ -0,0 +1,8 @@ +#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 |