From 7919c3ed86bcf8aa2fafe4284ec6d0453e5d993e Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Fri, 21 Feb 1992 03:35:37 +0000 Subject: * tm-sparc.h, tm-sysv4.h, solib.h: Move shared lib definitions into solib.h. * sparc-pinsn.c, sparc-tdep.c, standalonec, sun3-xdep.c, sun386-xdep.c, symm-xdep.c, target.c, ultra3-xdep.c, utils.c, value.h: Prototypes for static functions; lint. * gdbtypes.h: Empty file to ease transition. --- gdb/valops.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gdb/valops.c') diff --git a/gdb/valops.c b/gdb/valops.c index c340932..83d6ec8 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -1211,8 +1211,8 @@ value_struct_elt (argp, args, name, static_memfuncp, err) if NAME is inappropriate for TYPE, an error is signaled. */ int destructor_name_p (name, type) - char *name; - struct type *type; + const char *name; + const struct type *type; { /* destructors are a special case. */ @@ -1272,8 +1272,8 @@ check_field_in (type, name) int check_field (arg1, name) - register value arg1; - char *name; + register const value arg1; + const char *name; { register struct type *t; -- cgit v1.1