* regset.h: Make prototype const-correct.
* regset.c (regset_xmalloc): Make const-correct.
This commit is contained in:
parent
725603e12f
commit
144529d0d2
3 changed files with 7 additions and 2 deletions
|
@ -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.
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue