Use const more in c-lang.c
authorTom Tromey <tom@tromey.com>
Sat, 14 Nov 2020 02:40:29 +0000 (19:40 -0700)
committerTom Tromey <tom@tromey.com>
Sat, 14 Nov 2020 02:42:50 +0000 (19:42 -0700)
commite8b2f0d952184fac8a230db181a4b9810729cd7b
tree5d9208680d527e63b9196055a440b73726c56bf3
parent1aa9981f1c2e226692d7117952199e51196e83c9
Use const more in c-lang.c

This changes a few functions in c-lang.c to add "const" to parameters
and return types.  Tested by rebuilding.

gdb/ChangeLog
2020-11-13  Tom Tromey  <tom@tromey.com>

* c-lang.c (convert_ucn, convert_octal, convert_hex)
(convert_escape, parse_one_string): Constify.
gdb/ChangeLog
gdb/c-lang.c