diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-05-20 17:47:55 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-05-20 17:47:55 +0000 |
commit | 144529d0d22409ef28eaf39c25767f817d017fdd (patch) | |
tree | 3a96414a406a7e578fc5b890d6f77796e51d4984 | |
parent | 725603e12fe543cba35225e17d69a0c9450beeb4 (diff) | |
download | gdb-144529d0d22409ef28eaf39c25767f817d017fdd.zip gdb-144529d0d22409ef28eaf39c25767f817d017fdd.tar.gz gdb-144529d0d22409ef28eaf39c25767f817d017fdd.tar.bz2 |
* regset.h: Make prototype const-correct.
* regset.c (regset_xmalloc): Make const-correct.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/regset.c | 2 | ||||
-rw-r--r-- | gdb/regset.h | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4ff565e..dbf56dc 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2004-05-20 Mark Kettenis <kettenis@gnu.org> + + * regset.h: Make prototype const-correct. + * regset.c (regset_xmalloc): Make const-correct. + 2004-05-20 Paul N. Hilfinger <hilfinger@gnat.com> * symtab.h (SYMBOL_SEARCH_NAME): New definition. diff --git a/gdb/regset.c b/gdb/regset.c index 98fb665..2ab40b8 100644 --- a/gdb/regset.c +++ b/gdb/regset.c @@ -25,7 +25,7 @@ struct regset * -regset_xmalloc (void *descr, +regset_xmalloc (const void *descr, supply_regset_ftype *supply_regset, collect_regset_ftype *collect_regset) { 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); |