vlib: add const to char* params of several funcs 22/37922/5
authorSergey Nikiforov <void234@gmail.com>
Fri, 13 Jan 2023 19:15:13 +0000 (00:15 +0500)
committerDave Barach <vpp@barachs.net>
Sat, 14 Jan 2023 12:12:25 +0000 (12:12 +0000)
commite917bf75d911fae3a553b77e64cd4c37984948a8
tree0a64061035712decab9a56c1b502dd098e7a9c94
parente5465324dd11f8e9da33cf760e6166fdfe2e4304
vlib: 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: Ib437a01663aa61860c6a938d869ed1111da71ec7
src/vlib/unix/plugin.c
src/vlib/unix/plugin.h