aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-01-09 18:03:38 +0000
committerAndrew Cagney <cagney@redhat.com>2003-01-09 18:03:38 +0000
commit4ef3f3be7ae2203142ecf69debf476b3545c7653 (patch)
treedcd54051f238a7405266dfe99b3fb25bb404ea5e /gdb/infrun.c
parent754533e434690f9b836c21e5457e2d3e6e1625b1 (diff)
downloadgdb-4ef3f3be7ae2203142ecf69debf476b3545c7653.zip
gdb-4ef3f3be7ae2203142ecf69debf476b3545c7653.tar.gz
gdb-4ef3f3be7ae2203142ecf69debf476b3545c7653.tar.bz2
2003-01-09 Andrew Cagney <ac131313@redhat.com>
* 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 <string.h>. (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 <ac131313@redhat.com> * mi-cmd-env.c: Include "gdb_string.h" instead of <string.h>. Move all includes to after "defs.h".
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r--gdb/infrun.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index aa404cf..704e033 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);