From: Max Kellermann Date: Mon, 18 Nov 2024 11:33:12 +0000 (+0100) Subject: text-utils: make pointer arrays const X-Git-Tag: v2.42-start~145^2~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0ea32b331ffbf58f123d576608200ea8c3ec3ee2;p=thirdparty%2Futil-linux.git text-utils: make pointer arrays const --- diff --git a/text-utils/hexdump-conv.c b/text-utils/hexdump-conv.c index bd6970984..f735c39a7 100644 --- a/text-utils/hexdump-conv.c +++ b/text-utils/hexdump-conv.c @@ -87,7 +87,7 @@ strpr: *pr->cchar = 's'; void conv_u(struct hexdump_pr *pr, u_char *p) { - static const char *list[] = { + static const char *const list[] = { "nul", "soh", "stx", "etx", "eot", "enq", "ack", "bel", "bs", "ht", "lf", "vt", "ff", "cr", "so", "si", "dle", "dc1", "dc2", "dc3", "dc4", "nak", "syn", "etb",