* remote-sim.c (gdb_os_vprintf_filtered): Fix to work with non-ANSI

compilers.
        (gdb_os_evprintf_filtered): Similarly.
This commit is contained in:
Jeff Law
1997-03-21 03:53:59 +00:00
parent 527cabaf29
commit 011fa67124
2 changed files with 21 additions and 2 deletions

View File

@@ -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
{