* 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

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