aboutsummaryrefslogtreecommitdiff
path: root/gdb/regset.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-05-20 17:47:55 +0000
committerMark Kettenis <kettenis@gnu.org>2004-05-20 17:47:55 +0000
commit144529d0d22409ef28eaf39c25767f817d017fdd (patch)
tree3a96414a406a7e578fc5b890d6f77796e51d4984 /gdb/regset.h
parent725603e12fe543cba35225e17d69a0c9450beeb4 (diff)
downloadfsf-binutils-gdb-144529d0d22409ef28eaf39c25767f817d017fdd.zip
fsf-binutils-gdb-144529d0d22409ef28eaf39c25767f817d017fdd.tar.gz
fsf-binutils-gdb-144529d0d22409ef28eaf39c25767f817d017fdd.tar.bz2
* regset.h: Make prototype const-correct.
* regset.c (regset_xmalloc): Make const-correct.
Diffstat (limited to 'gdb/regset.h')
-rw-r--r--gdb/regset.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/regset.h b/gdb/regset.h
index 1d4355c..b787c72 100644
--- a/gdb/regset.h
+++ b/gdb/regset.h
@@ -52,7 +52,7 @@ struct regset
pass NULL for COLLECT_REGSET.
The object returned is allocated using xmalloc. */
-extern struct regset *regset_xmalloc (void *descr,
+extern struct regset *regset_xmalloc (const void *descr,
supply_regset_ftype *supply_regset,
collect_regset_ftype *collect_regset);