aboutsummaryrefslogtreecommitdiff
path: root/gdb/scm-valprint.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-01-28 06:40:27 +0000
committerAndrew Cagney <cagney@redhat.com>2005-01-28 06:40:27 +0000
commita8d6eb4a62a37d1fc53b85842ebf629e068c8ff1 (patch)
treeba91e15195b4f717481f00d0876bc482c2602b32 /gdb/scm-valprint.c
parent06c4d4dc676dcc0f583bc61170feabfd183a197d (diff)
downloadgdb-a8d6eb4a62a37d1fc53b85842ebf629e068c8ff1.zip
gdb-a8d6eb4a62a37d1fc53b85842ebf629e068c8ff1.tar.gz
gdb-a8d6eb4a62a37d1fc53b85842ebf629e068c8ff1.tar.bz2
2005-01-28 Andrew Cagney <cagney@gnu.org>
* m2-valprint.c: Include "c-lang.h". (c_val_print): Delete extern declaration. * scm-valprint.c: Include "c-lang.h". (c_val_print): Delete extern declaration. Makefile.in: Update dependencies.
Diffstat (limited to 'gdb/scm-valprint.c')
-rw-r--r--gdb/scm-valprint.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/gdb/scm-valprint.c b/gdb/scm-valprint.c
index 222db92..e796653 100644
--- a/gdb/scm-valprint.c
+++ b/gdb/scm-valprint.c
@@ -1,6 +1,7 @@
/* Scheme/Guile language support routines for GDB, the GNU debugger.
- Copyright 1995, 1996, 1998, 1999, 2000, 2001
- Free Software Foundation, Inc.
+
+ Copyright 1995, 1996, 1998, 1999, 2000, 2001, 2005 Free Software
+ Foundation, Inc.
This file is part of GDB.
@@ -29,11 +30,7 @@
#include "scm-lang.h"
#include "valprint.h"
#include "gdbcore.h"
-
-/* FIXME: Should be in a header file that we import. */
-extern int c_val_print (struct type *, char *, int, CORE_ADDR,
- struct ui_file *, int, int, int,
- enum val_prettyprint);
+#include "c-lang.h"
static void scm_ipruk (char *, LONGEST, struct ui_file *);
static void scm_scmlist_print (LONGEST, struct ui_file *, int, int,