* mips-nat.c (zerobuf): Get rid of const to avoid gcc warnings.

This commit is contained in:
Stu Grossman 1992-10-21 07:50:26 +00:00
parent ce5489d223
commit e0e9107774
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
Wed Oct 21 00:14:34 1992 Stu Grossman (grossman at cygnus.com)
* mips-nat.c (zerobuf): Get rid of const to avoid gcc warnings.
* xm-mips.h (offsetof): Don't define this if __STDC__.
Tue Oct 20 21:32:18 1992 K. Richard Pixley (rich@sendai.cygnus.com)

View File

@ -59,7 +59,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
: regno >= FP0_REGNUM ? FPR_BASE + (regno - FP0_REGNUM) \
: 0)
static const char zerobuf[MAX_REGISTER_RAW_SIZE];
static char zerobuf[MAX_REGISTER_RAW_SIZE];
/* Get all registers from the inferior */