static void sds_resume PARAMS ((int, int, enum target_signal));
-static int sds_start_remote PARAMS ((char *));
+static int sds_start_remote PARAMS ((PTR));
static void sds_open PARAMS ((char *, int));
static int
sds_start_remote (dummy)
- char *dummy;
+ PTR dummy;
{
char c;
unsigned char buf[200];
/* Start the remote connection; if error (0), discard this target.
In particular, if the user quits, be sure to discard it (we'd be
in an inconsistent state otherwise). */
- if (!catch_errors (sds_start_remote, (char *)0,
+ if (!catch_errors (sds_start_remote, NULL,
"Couldn't establish connection to remote target\n",
RETURN_MASK_ALL))
pop_target ();
static struct target_ops sds_ops ;
-static void init_sds_ops(void)
+static void
+init_sds_ops(void)
{
sds_ops.to_shortname = "sds";
sds_ops.to_longname = "Remote serial target with SDS protocol";