From 37611a2b102505daefdae7cb47a60c84fb2a9a09 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Wed, 24 Jul 2002 22:46:48 +0000 Subject: 2002-07-24 Andrew Cagney * findvar.c (extract_unsigned_integer): Make `addr' parameter constant. Same for local pointer variables. (extract_signed_integer): Ditto. * defs.h (extract_unsigned_integer): Update. (extract_signed_integer): Update. --- gdb/defs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/defs.h') diff --git a/gdb/defs.h b/gdb/defs.h index 7dea2b7..a96948c 100644 --- a/gdb/defs.h +++ b/gdb/defs.h @@ -1071,9 +1071,9 @@ extern void *alloca (); /* In findvar.c. */ -extern LONGEST extract_signed_integer (void *, int); +extern LONGEST extract_signed_integer (const void *, int); -extern ULONGEST extract_unsigned_integer (void *, int); +extern ULONGEST extract_unsigned_integer (const void *, int); extern int extract_long_unsigned_integer (void *, int, LONGEST *); -- cgit v1.1