summaryrefslogtreecommitdiff
path: root/gdb/remote-array.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1998-12-03 05:34:25 +0000
committerAndrew Cagney <cagney@redhat.com>1998-12-03 05:34:25 +0000
commit1c3cd1b020893108b0b94fc2b0990200240887d8 (patch)
tree2405ec14bff6a53ae5fb94e88d7405497eab2f3e /gdb/remote-array.c
parent321d48c5b8248865d580c9e169ceb776730b7644 (diff)
downloadbinutils-gdb-1c3cd1b020893108b0b94fc2b0990200240887d8.tar.gz
Clean up function return types. Functions not returning values,
functions unnecessarily returning values.
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 795a6452ab1..b250cc44c0c 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;