aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-array.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/remote-array.c')
-rw-r--r--gdb/remote-array.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/remote-array.c b/gdb/remote-array.c
index 795a645..b250cc4 100644
--- a/gdb/remote-array.c
+++ b/gdb/remote-array.c
@@ -90,7 +90,7 @@ static int from_hex();
static int array_send_packet();
static int array_get_packet();
static unsigned long ascii2hexword();
-static char *hexword2ascii();
+static void hexword2ascii();
extern char *version;
@@ -1365,6 +1365,7 @@ array_get_packet (packet)
}
}
}
+ return 0; /* exceeded retries */
}
/*
@@ -1398,7 +1399,7 @@ ascii2hexword (mem)
* ascii2hexword -- convert a hex value to an ascii number represented by 8
* digits.
*/
-static char*
+static void
hexword2ascii (mem, num)
unsigned char *mem;
unsigned long num;