* regset.h: Make prototype const-correct.

* regset.c (regset_xmalloc): Make const-correct.
This commit is contained in:
Mark Kettenis 2004-05-20 17:47:55 +00:00
parent 725603e12f
commit 144529d0d2
3 changed files with 7 additions and 2 deletions

View File

@ -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.

View File

@ -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)
{

View File

@ -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);