This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

build failure patch: gdbtk-hooks.c


I think Roland may have constified the wrong function declaration?

Ben

2004-04-19  Ben Elliston  <bje@au.ibm.com>

	* generic/gdbtk-hooks.c (gdbtk_pre_add_symbol): Similarly, add
	const to argument type in declaration.

Index: generic/gdbtk-hooks.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk-hooks.c,v
retrieving revision 1.32
diff -u -p -r1.32 gdbtk-hooks.c
--- generic/gdbtk-hooks.c	15 Apr 2004 21:39:35 -0000	1.32
+++ generic/gdbtk-hooks.c	19 Apr 2004 04:06:23 -0000
@@ -93,7 +93,7 @@ static void gdbtk_warning (const char *,
 static char *gdbtk_readline (char *);
 static void gdbtk_readline_begin (char *format,...);
 static void gdbtk_readline_end (void);
-static void gdbtk_pre_add_symbol (char *);
+static void gdbtk_pre_add_symbol (const char *);
 static void gdbtk_print_frame_info (struct symtab *, int, int, int);
 static void gdbtk_post_add_symbol (void);
 static void gdbtk_register_changed (int regno);
        


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]