From 4ef3f3be7ae2203142ecf69debf476b3545c7653 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Thu, 9 Jan 2003 18:03:38 +0000 Subject: 2003-01-09 Andrew Cagney * infrun.c (follow_fork): Use ISO C definition. * expprint.c (print_subexp): Use xfree instead of free. * charset.c: Include "gdb_string.h" instead of . (register_iconv_charsets): Use ISO C definition. (host_charset, target_charset): Ditto. * Makefile.in (charset.o): Update dependencies. (mi-cmd-env.o): Update dependencies. Index: mi/ChangeLog 2003-01-09 Andrew Cagney * mi-cmd-env.c: Include "gdb_string.h" instead of . Move all includes to after "defs.h". --- gdb/infrun.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/infrun.c') diff --git a/gdb/infrun.c b/gdb/infrun.c index aa404cfcd14..704e0338fb3 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -66,7 +66,7 @@ static int restore_selected_frame (void *); static void build_infrun (void); -static int follow_fork (); +static int follow_fork (void); static void set_schedlock_func (char *args, int from_tty, struct cmd_list_element *c); @@ -377,7 +377,7 @@ static const char *follow_fork_mode_string = follow_fork_mode_parent; static int -follow_fork () +follow_fork (void) { const char *follow_mode = follow_fork_mode_string; int follow_child = (follow_mode == follow_fork_mode_child); -- cgit v1.2.1