diff options
author | Jiri Slaby <jslaby@suse.cz> | 2020-06-15 10:48:42 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-06-24 18:08:31 +0300 |
commit | a018180cc3485e71f7912e36bf93caa635e0e4af (patch) | |
tree | 392ce994631e710437806f7a44246e8f44312024 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9a6f72d9b6c121415bc2867329fe77b0d2a52dc1 (diff) | |
download | linux-a018180cc3485e71f7912e36bf93caa635e0e4af.tar.xz |
vt: move vc_translate to vt.c and rename it
vc_translate is used only in vt.c, so move the definition from a header
there. Also, it used to be a macro, so be modern and make a static
inline from it. This makes the code actually readable.
And as a preparation for next patches, rename it to vc_translate_ascii.
vc_translate will be a wrapper for both unicode and this one.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20200615074910.19267-10-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions