aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-sim.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1997-03-21 03:53:59 +0000
committerJeff Law <law@redhat.com>1997-03-21 03:53:59 +0000
commit011fa6712432575d1ea1f9b70c9d2eb3f981476f (patch)
tree53382885b7d1459847598a8639da4b47b61e977e /gdb/remote-sim.c
parent527cabaf297b5c843003449511d06419ded0d2e4 (diff)
downloadgdb-011fa6712432575d1ea1f9b70c9d2eb3f981476f.zip
gdb-011fa6712432575d1ea1f9b70c9d2eb3f981476f.tar.gz
gdb-011fa6712432575d1ea1f9b70c9d2eb3f981476f.tar.bz2
* remote-sim.c (gdb_os_vprintf_filtered): Fix to work with non-ANSI
compilers. (gdb_os_evprintf_filtered): Similarly.
Diffstat (limited to 'gdb/remote-sim.c')
-rw-r--r--gdb/remote-sim.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c
index db2ba63..930e494 100644
--- a/gdb/remote-sim.c
+++ b/gdb/remote-sim.c
@@ -270,8 +270,9 @@ static void
#ifdef ANSI_PROTOTYPES
gdb_os_vprintf_filtered (host_callback *p, const char *format, void *ap)
#else
-gdb_os_vprintf_filtered (p, ap)
+gdb_os_vprintf_filtered (p, format, ap)
host_callback *p;
+ char *format;
void *ap;
#endif
{
@@ -285,8 +286,9 @@ static void
#ifdef ANSI_PROTOTYPES
gdb_os_evprintf_filtered (host_callback *p, const char *format, void *ap)
#else
-gdb_os_vprintf_filtered (p, ap)
+gdb_os_evprintf_filtered (p, format, ap)
host_callback *p;
+ char *format;
void *ap;
#endif
{