vppinfra: add const to char* params of several funcs 21/37921/4
authorSergey Nikiforov <void234@gmail.com>
Fri, 13 Jan 2023 19:12:05 +0000 (00:12 +0500)
committerDave Barach <vpp@barachs.net>
Sat, 14 Jan 2023 12:12:25 +0000 (12:12 +0000)
commite5465324dd11f8e9da33cf760e6166fdfe2e4304
treed21ba7279c18360833193a249667c97b8a11fab9
parent1d84abc93ed0f41ee7ced184e57ab9b6241c6eba
vppinfra: add const to char* params of several funcs

These functions do not need modifiable strings.
It helps with linker sections as well as C++ compatibility.
It is a good style to use const where approriate.

Type: refactor
Signed-off-by: void234@gmail.com
Change-Id: I8d1e922197b3594122296e8c1af57e0a8ec0bf3d
src/vppinfra/error.c
src/vppinfra/error.h
src/vppinfra/error_bootstrap.h