diff options
author | 2020-08-18 10:56:52 +0200 | |
---|---|---|
committer | 2020-08-18 13:45:20 +0200 | |
commit | a5c6bd806dd626103db38dee77796fe758c8df94 (patch) | |
tree | 23c7c5fbda4bc87624370612ae81e0dc578e69ba /tools/perf/scripts/python/export-to-sqlite.py | |
parent | vt: make vc_data pointers const in selection.h (diff) | |
download | wireguard-linux-a5c6bd806dd626103db38dee77796fe758c8df94.tar.xz wireguard-linux-a5c6bd806dd626103db38dee77796fe758c8df94.zip |
vt: declare xy for get/putconsxy properly
That is:
1) call the parameter 'xy' to denote what it really is, not generic 'p'
2) tell the compiler and users that we expect an array:
* with at least 2 chars (static 2)
* which we don't modify in putconsxy (const)
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20200818085706.12163-2-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions