From c85cddc51d5d9e4423509a2dc7cf3d9809451b49 Mon Sep 17 00:00:00 2001 From: Keith Seitz Date: Wed, 2 Oct 2013 00:46:06 +0000 Subject: Constification of parse_linespec and fallout: https://sourceware.org/ml/gdb-patches/2013-09/msg01017.html https://sourceware.org/ml/gdb-patches/2013-09/msg01018.html https://sourceware.org/ml/gdb-patches/2013-09/msg01019.html https://sourceware.org/ml/gdb-patches/2013-09/msg01020.html --- gdb/gdbtypes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/gdbtypes.c') diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c index ea5ca2171dd..6c809a401a3 100644 --- a/gdb/gdbtypes.c +++ b/gdb/gdbtypes.c @@ -1353,7 +1353,7 @@ lookup_template_type (char *name, struct type *type, If NAME is the name of a baseclass type, return that type. */ struct type * -lookup_struct_elt_type (struct type *type, char *name, int noerr) +lookup_struct_elt_type (struct type *type, const char *name, int noerr) { int i; char *typename; -- cgit v1.2.1