tools/kdd: Use const whenever we point to literal strings
authorJulien Grall <jgrall@amazon.com>
Tue, 6 Apr 2021 18:59:25 +0000 (19:59 +0100)
committerJulien Grall <jgrall@amazon.com>
Tue, 6 Apr 2021 19:03:10 +0000 (20:03 +0100)
commit922dcbab0b465f9da006b31da1a61e93734a080e
tree0057980665d0f15e8ca8e9dac3082b1da9dfdc73
parent8b9a78269d2c819194fcc6843d6da64cab5e0ca4
tools/kdd: Use const whenever we point to literal strings

literal strings are not meant to be modified. So we should use const
char * rather than char * when we want to shore a pointer to them.

Signed-off-by: Julien Grall <jgrall@amazon.com>
Acked-by: Tim Deegan <tim@xen.org>
tools/debugger/kdd/kdd.c