projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2000-03-22 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
[deliverable/binutils-gdb.git]
/
gdb
/
remote-rdp.c
diff --git
a/gdb/remote-rdp.c
b/gdb/remote-rdp.c
index 9b6584d874a178227791880e2948cf0e9c644c52..e193abb4bf58c8f728b3e24a27bb34abc60c70b8 100644
(file)
--- a/
gdb/remote-rdp.c
+++ b/
gdb/remote-rdp.c
@@
-38,25
+38,20
@@
#include "defs.h"
#include "inferior.h"
#include "defs.h"
#include "inferior.h"
-#include "wait.h"
+#include "
gdb_
wait.h"
#include "value.h"
#include "callback.h"
#include "command.h"
#include "value.h"
#include "callback.h"
#include "command.h"
-#ifdef ANSI_PROTOTYPES
-#include <stdarg.h>
-#else
-#include <varargs.h>
-#endif
#include <ctype.h>
#include <fcntl.h>
#include "symfile.h"
#include "remote-utils.h"
#include "gdb_string.h"
#include <ctype.h>
#include <fcntl.h>
#include "symfile.h"
#include "remote-utils.h"
#include "gdb_string.h"
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
#include "gdbcore.h"
#include "gdbcore.h"
+#ifdef HAVE_TIME_H
+#include <time.h>
+#endif
extern struct target_ops remote_rdp_ops;
static serial_t io;
extern struct target_ops remote_rdp_ops;
static serial_t io;
@@
-379,23
+374,13
@@
rdp_init (cold, tty)
}
}
-#ifdef ANSI_PROTOTYPES
void
send_rdp (char *template,...)
void
send_rdp (char *template,...)
-#else
-void
-send_rdp (char *template, va_alist)
- va_dcl
-#endif
{
char buf[200];
char *dst = buf;
va_list alist;
{
char buf[200];
char *dst = buf;
va_list alist;
-#ifdef ANSI_PROTOTYPES
va_start (alist, template);
va_start (alist, template);
-#else
- va_start (alist);
-#endif
while (*template)
{
while (*template)
{
@@
-495,7
+480,7
@@
send_rdp (char *template, va_alist)
abort ();
}
}
abort ();
}
}
- va_end (a
rgs
);
+ va_end (a
list
);
if (dst != buf)
abort ();
if (dst != buf)
abort ();
This page took
0.025732 seconds
and
4
git commands to generate.