Skip to content
Snippets Groups Projects
Commit 977a0c16 authored by Tom Tromey's avatar Tom Tromey
Browse files

Constify linetables


Linetables no longer change after they are created.  This patch
applies const to them.

Note there is one hack to cast away const in mdebugread.c.  This code
allocates a linetable using 'malloc', then later copies it to the
obstack.  While this could be cleaned up, I chose not to do so because
I have no way of testing it.

Approved-By: default avatarSimon Marchi <simon.marchi@efficios.com>
parent 1acc9dca
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment