summaryrefslogtreecommitdiffstats
path: root/libdwfl/libdwfl.h
diff options
context:
space:
mode:
authorJan Kratochvil <[email protected]>2013-11-14 20:55:41 +0100
committerJan Kratochvil <[email protected]>2013-11-14 20:55:41 +0100
commit1c1a53b657ef31b168928925884c01a7e4bcaf0c (patch)
treef503e5d0198da257d482d7f9c4707e768be2b615 /libdwfl/libdwfl.h
parented78237ef7c31fb1d7dc80e2c2e07484e1216727 (diff)
Code cleanup: Remove const in prototype
Signed-off-by: Jan Kratochvil <[email protected]>
Diffstat (limited to 'libdwfl/libdwfl.h')
-rw-r--r--libdwfl/libdwfl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdwfl/libdwfl.h b/libdwfl/libdwfl.h
index 303f79cc..c1a0fb99 100644
--- a/libdwfl/libdwfl.h
+++ b/libdwfl/libdwfl.h
@@ -657,7 +657,7 @@ Dwfl_Thread *dwfl_frame_thread (Dwfl_Frame *state)
For every known continuous block of registers <FIRSTREG..FIRSTREG+NREGS)
(inclusive..exclusive) set their content to REGS (array of NREGS items).
Function returns false if any of the registers has invalid number. */
-bool dwfl_thread_state_registers (Dwfl_Thread *thread, const int firstreg,
+bool dwfl_thread_state_registers (Dwfl_Thread *thread, int firstreg,
unsigned nregs, const Dwarf_Word *regs)
__nonnull_attribute__ (1, 4);