diff options
author | Andrew Cagney <cagney@redhat.com> | 1998-12-03 05:34:25 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1998-12-03 05:34:25 +0000 |
commit | 1c3cd1b020893108b0b94fc2b0990200240887d8 (patch) | |
tree | 2405ec14bff6a53ae5fb94e88d7405497eab2f3e /gdb/remote-array.c | |
parent | 321d48c5b8248865d580c9e169ceb776730b7644 (diff) | |
download | gdb-1c3cd1b020893108b0b94fc2b0990200240887d8.zip gdb-1c3cd1b020893108b0b94fc2b0990200240887d8.tar.gz gdb-1c3cd1b020893108b0b94fc2b0990200240887d8.tar.bz2 |
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.c | 5 |
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; |