Make some arrays const.

This commit is contained in:
Piotr Fusik
2017-06-28 20:43:31 +02:00
parent 4cf7ee1dba
commit b31ae57be1
18 changed files with 87 additions and 90 deletions

View File

@@ -264,11 +264,11 @@ const char* GetLabel (unsigned Addr, unsigned RefFrom)
** of unnamed labels, to determine the name.
*/
{
static const char* FwdLabels[] = {
static const char* const FwdLabels[] = {
":+", ":++", ":+++", ":++++", ":+++++", ":++++++", ":+++++++",
":++++++++", ":+++++++++", ":++++++++++"
};
static const char* BackLabels[] = {
static const char* const BackLabels[] = {
":-", ":--", ":---", ":----", ":-----", ":------", ":-------",
":--------", ":---------", ":----------"
};