This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[ob] Eliminate /* ARGSUSED */
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Sat, 20 Sep 2003 20:49:58 -0400
- Subject: [ob] Eliminate /* ARGSUSED */
Hello,
I've committed the attached (btw, does anyone know the history of this
habit? lint?).
Andrew
2003-09-20 Andrew Cagney <cagney@redhat.com>
* breakpoint.c: Eliminate ARGSUSED.
* buildsym.c, cli/cli-cmds.c, cli/cli-script.c: Ditto.
* coffread.c, corelow.c, dwarf2read.c, event-top.c: Ditto.
* exec.c, gcore.c, hpux-thread.c, infcmd.c, inflow.c: Ditto.
* infrun.c, inftarg.c, maint.c, ocd.c, printcmd.c: Ditto.
* procfs.c, regcache.c, remote-rdi.c, remote-sds.c: Ditto.
* remote.c, sol-thread.c, source.c, stabsread.c: Ditto.
* stack.c, symfile.c, target.c, top.c, typeprint.c: Ditto.
* utils.c, v850ice.c, valprint.c, values.c, win32-nat.c: Ditto.
* wince.c, remote-vx.c: Ditto.
Index: breakpoint.c
===================================================================
RCS file: /cvs/src/src/gdb/breakpoint.c,v
retrieving revision 1.129
diff -u -r1.129 breakpoint.c
--- breakpoint.c 14 Sep 2003 16:32:12 -0000 1.129
+++ breakpoint.c 20 Sep 2003 23:40:24 -0000
@@ -560,7 +560,6 @@
error ("No breakpoint number %d.", bnum);
}
-/* ARGSUSED */
static void
commands_command (char *arg, int from_tty)
{
@@ -1924,7 +1923,6 @@
}
/* Stub for cleaning up our state if we error-out of a breakpoint command */
-/* ARGSUSED */
static void
cleanup_executing_breakpoints (void *ignore)
{
@@ -3666,7 +3664,6 @@
annotate_breakpoints_table_end ();
}
-/* ARGSUSED */
static void
breakpoints_info (char *bnum_exp, int from_tty)
{
@@ -3678,7 +3675,6 @@
breakpoint_1 (bnum, 0);
}
-/* ARGSUSED */
static void
maintenance_info_breakpoints (char *bnum_exp, int from_tty)
{
@@ -5320,7 +5316,6 @@
break_command_1 (arg, 0, from_tty);
}
-/* ARGSUSED */
/* accessflag: hw_write: watch write,
hw_read: watch read,
hw_access: watch access (read or write) */
@@ -5623,7 +5618,6 @@
do_exec_cleanups (cleanups);
}
-/* ARGSUSED */
void
until_break_command (char *arg, int from_tty, int anywhere)
{
@@ -7132,7 +7126,6 @@
breakpoint_modify_event (bpt->number);
}
-/* ARGSUSED */
static void
disable_command (char *args, int from_tty)
{
@@ -7266,7 +7259,6 @@
breakpoints) so they once again become (or continue to be) effective
in stopping the inferior. */
-/* ARGSUSED */
static void
enable_command (char *args, int from_tty)
{
@@ -7306,7 +7298,6 @@
do_enable_breakpoint (bpt, disp_disable);
}
-/* ARGSUSED */
static void
enable_once_command (char *args, int from_tty)
{
@@ -7319,7 +7310,6 @@
do_enable_breakpoint (bpt, disp_del);
}
-/* ARGSUSED */
static void
enable_delete_command (char *args, int from_tty)
{
Index: buildsym.c
===================================================================
RCS file: /cvs/src/src/gdb/buildsym.c,v
retrieving revision 1.36
diff -u -r1.36 buildsym.c
--- buildsym.c 16 Sep 2003 18:56:34 -0000 1.36
+++ buildsym.c 20 Sep 2003 23:40:24 -0000
@@ -164,7 +164,6 @@
/* At end of reading syms, or in case of quit, really free as many
`struct pending's as we can easily find. */
-/* ARGSUSED */
void
really_free_pendings (void *dummy)
{
Index: coffread.c
===================================================================
RCS file: /cvs/src/src/gdb/coffread.c,v
retrieving revision 1.44
diff -u -r1.44 coffread.c
--- coffread.c 16 Sep 2003 18:56:34 -0000 1.44
+++ coffread.c 20 Sep 2003 23:40:25 -0000
@@ -469,7 +469,6 @@
of the line table (minimum and maximum file offset) so that the
mainline code can read the whole thing for efficiency. */
-/* ARGSUSED */
static void
find_linenos (bfd *abfd, sec_ptr asect, void *vpinfo)
{
@@ -506,7 +505,6 @@
/* Read a symbol file, after initialization by coff_symfile_init. */
-/* ARGSUSED */
static void
coff_symfile_read (struct objfile *objfile, int mainline)
{
@@ -2036,7 +2034,6 @@
and create and return a suitable type object.
Also defines the symbols that represent the values of the type. */
-/* ARGSUSED */
static struct type *
coff_read_enum_type (int index, int length, int lastsym)
{
Index: corelow.c
===================================================================
RCS file: /cvs/src/src/gdb/corelow.c,v
retrieving revision 1.29
diff -u -r1.29 corelow.c
--- corelow.c 18 Jan 2003 15:55:51 -0000 1.29
+++ corelow.c 20 Sep 2003 23:40:25 -0000
@@ -179,7 +179,6 @@
/* Discard all vestiges of any previous core file and mark data and stack
spaces as empty. */
-/* ARGSUSED */
static void
core_close (int quitting)
{
@@ -449,7 +448,6 @@
/* We just get all the registers, so we don't use regno. */
-/* ARGSUSED */
static void
get_core_registers (int regno)
{
Index: dwarf2read.c
===================================================================
RCS file: /cvs/src/src/gdb/dwarf2read.c,v
retrieving revision 1.106
diff -u -r1.106 dwarf2read.c
--- dwarf2read.c 16 Sep 2003 18:56:35 -0000 1.106
+++ dwarf2read.c 20 Sep 2003 23:40:26 -0000
@@ -3981,7 +3981,6 @@
/* Empty the abbrev table for a new compilation unit. */
-/* ARGSUSED */
static void
dwarf2_empty_abbrev_table (void *ptr_to_abbrevs_table)
{
@@ -7164,7 +7163,6 @@
/* memory allocation interface */
-/* ARGSUSED */
static void
dwarf2_free_tmp_obstack (void *ignore)
{
Index: event-top.c
===================================================================
RCS file: /cvs/src/src/gdb/event-top.c,v
retrieving revision 1.29
diff -u -r1.29 event-top.c
--- event-top.c 14 Sep 2003 16:32:12 -0000 1.29
+++ event-top.c 20 Sep 2003 23:40:27 -0000
@@ -1084,7 +1084,6 @@
/* Called by do_setshow_command. */
-/* ARGSUSED */
void
set_async_editing_command (char *args, int from_tty, struct cmd_list_element *c)
{
@@ -1092,7 +1091,6 @@
}
/* Called by do_setshow_command. */
-/* ARGSUSED */
void
set_async_annotation_level (char *args, int from_tty, struct cmd_list_element *c)
{
@@ -1100,7 +1098,6 @@
}
/* Called by do_setshow_command. */
-/* ARGSUSED */
void
set_async_prompt (char *args, int from_tty, struct cmd_list_element *c)
{
Index: exec.c
===================================================================
RCS file: /cvs/src/src/gdb/exec.c,v
retrieving revision 1.30
diff -u -r1.30 exec.c
--- exec.c 19 Sep 2003 20:09:43 -0000 1.30
+++ exec.c 20 Sep 2003 23:40:27 -0000
@@ -94,7 +94,6 @@
exec_file_attach (args, from_tty);
}
-/* ARGSUSED */
static void
exec_close (int quitting)
{
Index: gcore.c
===================================================================
RCS file: /cvs/src/src/gdb/gcore.c,v
retrieving revision 1.11
diff -u -r1.11 gcore.c
--- gcore.c 4 Sep 2003 21:05:49 -0000 1.11
+++ gcore.c 20 Sep 2003 23:40:27 -0000
@@ -285,7 +285,6 @@
return 0;
}
-/* ARGSUSED */
static void
make_output_phdrs (bfd *obfd, asection *osec, void *ignored)
{
Index: hpux-thread.c
===================================================================
RCS file: /cvs/src/src/gdb/hpux-thread.c,v
retrieving revision 1.19
diff -u -r1.19 hpux-thread.c
--- hpux-thread.c 17 Sep 2003 14:24:30 -0000 1.19
+++ hpux-thread.c 20 Sep 2003 23:40:27 -0000
@@ -131,7 +131,6 @@
/* Most target vector functions from here on actually just pass through to
inftarg.c, as they don't need to do anything specific for threads. */
-/* ARGSUSED */
static void
hpux_thread_open (char *arg, int from_tty)
{
Index: infcmd.c
===================================================================
RCS file: /cvs/src/src/gdb/infcmd.c,v
retrieving revision 1.90
diff -u -r1.90 infcmd.c
--- infcmd.c 18 Sep 2003 22:39:21 -0000 1.90
+++ infcmd.c 20 Sep 2003 23:40:27 -0000
@@ -261,7 +261,6 @@
/* Compute command-line string given argument vector. This does the
same shell processing as fork_inferior. */
-/* ARGSUSED */
char *
construct_inferior_arguments (struct gdbarch *gdbarch, int argc, char **argv)
{
@@ -370,7 +369,6 @@
return 0;
}
-/* ARGSUSED */
void
tty_command (char *file, int from_tty)
{
@@ -543,7 +541,6 @@
/* Step until outside of current statement. */
-/* ARGSUSED */
static void
step_command (char *count_string, int from_tty)
{
@@ -552,7 +549,6 @@
/* Likewise, but skip over subroutine calls as if single instructions. */
-/* ARGSUSED */
static void
next_command (char *count_string, int from_tty)
{
@@ -561,14 +557,12 @@
/* Likewise, but step only one instruction. */
-/* ARGSUSED */
void
stepi_command (char *count_string, int from_tty)
{
step_1 (0, 1, count_string);
}
-/* ARGSUSED */
void
nexti_command (char *count_string, int from_tty)
{
@@ -958,7 +952,6 @@
we set. This may involve changes to wait_for_inferior and the
proceed status code. */
-/* ARGSUSED */
static void
until_next_command (int from_tty)
{
@@ -1284,7 +1277,6 @@
}
}
-/* ARGSUSED */
static void
program_info (char *args, int from_tty)
{
@@ -1446,7 +1438,6 @@
static const char path_var_name[] = "PATH";
-/* ARGSUSED */
static void
path_info (char *args, int from_tty)
{
@@ -1904,7 +1895,6 @@
}
}
-/* ARGSUSED */
static void
print_float_info (struct gdbarch *gdbarch, struct ui_file *file,
struct frame_info *frame, const char *args)
@@ -1941,7 +1931,6 @@
print_float_info (current_gdbarch, gdb_stdout, deprecated_selected_frame, args);
}
-/* ARGSUSED */
static void
unset_command (char *args, int from_tty)
{
Index: inflow.c
===================================================================
RCS file: /cvs/src/src/gdb/inflow.c,v
retrieving revision 1.19
diff -u -r1.19 inflow.c
--- inflow.c 14 Sep 2003 16:32:13 -0000 1.19
+++ inflow.c 20 Sep 2003 23:40:28 -0000
@@ -412,14 +412,12 @@
}
}
-/* ARGSUSED */
void
term_info (char *arg, int from_tty)
{
target_terminal_info (arg, from_tty);
}
-/* ARGSUSED */
void
child_terminal_info (char *args, int from_tty)
{
@@ -572,7 +570,6 @@
/* Kill the inferior process. Make us have no inferior. */
-/* ARGSUSED */
static void
kill_command (char *arg, int from_tty)
{
@@ -604,7 +601,6 @@
/* Call set_sigint_trap when you need to pass a signal on to an attached
process when handling SIGINT */
-/* ARGSUSED */
static void
pass_signal (int signo)
{
Index: infrun.c
===================================================================
RCS file: /cvs/src/src/gdb/infrun.c,v
retrieving revision 1.113
diff -u -r1.113 infrun.c
--- infrun.c 14 Sep 2003 16:32:13 -0000 1.113
+++ infrun.c 20 Sep 2003 23:40:29 -0000
@@ -495,7 +495,6 @@
/* Things to clean up if we QUIT out of resume (). */
-/* ARGSUSED */
static void
resume_cleanups (void *ignore)
{
Index: inftarg.c
===================================================================
RCS file: /cvs/src/src/gdb/inftarg.c,v
retrieving revision 1.17
diff -u -r1.17 inftarg.c
--- inftarg.c 7 Feb 2003 04:21:34 -0000 1.17
+++ inftarg.c 20 Sep 2003 23:40:29 -0000
@@ -306,7 +306,6 @@
attach_flag ? "attached" : "child", target_pid_to_str (inferior_ptid));
}
-/* ARGSUSED */
static void
child_open (char *arg, int from_tty)
{
Index: maint.c
===================================================================
RCS file: /cvs/src/src/gdb/maint.c,v
retrieving revision 1.39
diff -u -r1.39 maint.c
--- maint.c 8 Jun 2003 18:27:14 -0000 1.39
+++ maint.c 20 Sep 2003 23:40:29 -0000
@@ -92,7 +92,6 @@
}
#ifndef _WIN32
-/* ARGSUSED */
static void
maintenance_dump_me (char *args, int from_tty)
{
@@ -191,7 +190,6 @@
allow_unknown 0. Therefore, its own definition is called only for
"maintenance info" with no args. */
-/* ARGSUSED */
static void
maintenance_info_command (char *arg, int from_tty)
{
@@ -353,7 +351,6 @@
}
}
-/* ARGSUSED */
static void
maintenance_info_sections (char *arg, int from_tty)
{
@@ -399,7 +396,6 @@
}
}
-/* ARGSUSED */
void
maintenance_print_statistics (char *args, int from_tty)
{
@@ -426,7 +422,6 @@
allow_unknown 0. Therefore, its own definition is called only for
"maintenance print" with no args. */
-/* ARGSUSED */
static void
maintenance_print_command (char *arg, int from_tty)
{
Index: ocd.c
===================================================================
RCS file: /cvs/src/src/gdb/ocd.c,v
retrieving revision 1.26
diff -u -r1.26 ocd.c
--- ocd.c 5 Aug 2003 02:44:50 -0000 1.26
+++ ocd.c 20 Sep 2003 23:40:29 -0000
@@ -159,7 +159,6 @@
/* Clean up connection to a remote debugger. */
-/* ARGSUSED */
void
ocd_close (int quitting)
{
@@ -737,7 +736,6 @@
nonzero. Returns length of data written or read; 0 for error. TARGET
is ignored. */
-/* ARGSUSED */
int
ocd_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int should_write,
struct mem_attrib *attrib, struct target_ops *target)
Index: printcmd.c
===================================================================
RCS file: /cvs/src/src/gdb/printcmd.c,v
retrieving revision 1.68
diff -u -r1.68 printcmd.c
--- printcmd.c 16 Sep 2003 18:56:35 -0000 1.68
+++ printcmd.c 20 Sep 2003 23:40:30 -0000
@@ -942,7 +942,6 @@
inspect_it = 0; /* Reset print routines to normal */
}
-/* ARGSUSED */
static void
print_command (char *exp, int from_tty)
{
@@ -950,7 +949,6 @@
}
/* Same as print, except in epoch, it gets its own window */
-/* ARGSUSED */
static void
inspect_command (char *exp, int from_tty)
{
@@ -960,14 +958,12 @@
}
/* Same as print, except it doesn't print void results. */
-/* ARGSUSED */
static void
call_command (char *exp, int from_tty)
{
print_command_1 (exp, 0, 0);
}
-/* ARGSUSED */
void
output_command (char *exp, int from_tty)
{
@@ -1002,7 +998,6 @@
do_cleanups (old_chain);
}
-/* ARGSUSED */
static void
set_command (char *exp, int from_tty)
{
@@ -1013,7 +1008,6 @@
do_cleanups (old_chain);
}
-/* ARGSUSED */
static void
sym_info (char *arg, int from_tty)
{
@@ -1058,7 +1052,6 @@
printf_filtered ("No symbol matches %s.\n", arg);
}
-/* ARGSUSED */
static void
address_info (char *exp, int from_tty)
{
@@ -1694,7 +1687,6 @@
}
}
-/* ARGSUSED */
static void
disable_display_command (char *args, int from_tty)
{
@@ -1737,7 +1729,6 @@
value_print (val, stream, 0, Val_pretty_default);
}
-/* ARGSUSED */
static void
printf_command (char *arg, int from_tty)
{
Index: procfs.c
===================================================================
RCS file: /cvs/src/src/gdb/procfs.c,v
retrieving revision 1.47
diff -u -r1.47 procfs.c
--- procfs.c 17 Sep 2003 15:42:19 -0000 1.47
+++ procfs.c 20 Sep 2003 23:40:31 -0000
@@ -5519,7 +5519,6 @@
* Callback function, does the actual work for 'info proc mappings'.
*/
-/* ARGSUSED */
static int
info_mappings_callback (struct prmap *map, int (*ignore) (), void *unused)
{
Index: regcache.c
===================================================================
RCS file: /cvs/src/src/gdb/regcache.c,v
retrieving revision 1.99
diff -u -r1.99 regcache.c
--- regcache.c 17 Sep 2003 15:42:21 -0000 1.99
+++ regcache.c 20 Sep 2003 23:40:31 -0000
@@ -1407,7 +1407,6 @@
internal_error (__FILE__, __LINE__, "deprecated_read_fp");
}
-/* ARGSUSED */
static void
reg_flush_command (char *command, int from_tty)
{
Index: remote-rdi.c
===================================================================
RCS file: /cvs/src/src/gdb/remote-rdi.c,v
retrieving revision 1.28
diff -u -r1.28 remote-rdi.c
--- remote-rdi.c 15 Jun 2003 12:30:55 -0000 1.28
+++ remote-rdi.c 20 Sep 2003 23:40:31 -0000
@@ -524,7 +524,6 @@
/* Read the remote registers into the block REGS. */
-/* ARGSUSED */
static void
arm_rdi_fetch_registers (int regno)
{
@@ -624,7 +623,6 @@
if SHOULD_WRITE is nonzero. Returns length of data written or
read; 0 for error. TARGET is unused. */
-/* ARGSUSED */
static int
arm_rdi_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len,
int should_write, struct mem_attrib *attrib,
Index: remote-sds.c
===================================================================
RCS file: /cvs/src/src/gdb/remote-sds.c,v
retrieving revision 1.26
diff -u -r1.26 remote-sds.c
--- remote-sds.c 17 Sep 2003 14:24:30 -0000 1.26
+++ remote-sds.c 20 Sep 2003 23:40:32 -0000
@@ -148,7 +148,6 @@
/* Clean up connection to a remote debugger. */
-/* ARGSUSED */
static void
sds_close (int quitting)
{
@@ -467,7 +466,6 @@
/* Read the remote registers into the block REGS. */
/* Currently we just read all the registers, so we don't use regno. */
-/* ARGSUSED */
static void
sds_fetch_registers (int regno)
{
@@ -657,7 +655,6 @@
if SHOULD_WRITE is nonzero. Returns length of data written or
read; 0 for error. TARGET is unused. */
-/* ARGSUSED */
static int
sds_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int should_write,
struct mem_attrib *attrib, struct target_ops *target)
Index: remote-vx.c
===================================================================
RCS file: /cvs/src/src/gdb/remote-vx.c,v
retrieving revision 1.29
diff -u -r1.29 remote-vx.c
--- remote-vx.c 16 Sep 2003 18:56:35 -0000 1.29
+++ remote-vx.c 20 Sep 2003 23:40:32 -0000
@@ -1335,7 +1335,6 @@
}
/* A vxprocess target should be started via "run" not "target". */
-/*ARGSUSED */
static void
vx_proc_open (char *name, int from_tty)
{
Index: remote.c
===================================================================
RCS file: /cvs/src/src/gdb/remote.c,v
retrieving revision 1.114
diff -u -r1.114 remote.c
--- remote.c 17 Sep 2003 14:24:30 -0000 1.114
+++ remote.c 20 Sep 2003 23:40:33 -0000
@@ -1903,7 +1903,6 @@
/* Clean up connection to a remote debugger. */
-/* ARGSUSED */
static void
remote_close (int quitting)
{
@@ -3413,7 +3412,6 @@
/* Read the remote registers into the block REGS. */
/* Currently we just read all the registers, so we don't use regnum. */
-/* ARGSUSED */
static void
remote_fetch_registers (int regnum)
{
@@ -3967,7 +3965,6 @@
SHOULD_WRITE is nonzero. Returns length of data written or read; 0
for error. TARGET is unused. */
-/* ARGSUSED */
static int
remote_xfer_memory (CORE_ADDR mem_addr, char *buffer, int mem_len,
int should_write, struct mem_attrib *attrib,
Index: sol-thread.c
===================================================================
RCS file: /cvs/src/src/gdb/sol-thread.c,v
retrieving revision 1.37
diff -u -r1.37 sol-thread.c
--- sol-thread.c 6 Sep 2003 21:09:21 -0000 1.37
+++ sol-thread.c 20 Sep 2003 23:40:34 -0000
@@ -401,8 +401,6 @@
/* Most target vector functions from here on actually just pass through to
procfs.c, as they don't need to do anything specific for threads. */
-
-/* ARGSUSED */
static void
sol_thread_open (char *arg, int from_tty)
{
Index: source.c
===================================================================
RCS file: /cvs/src/src/gdb/source.c,v
retrieving revision 1.45
diff -u -r1.45 source.c
--- source.c 16 Sep 2003 18:56:35 -0000 1.45
+++ source.c 20 Sep 2003 23:40:34 -0000
@@ -1347,7 +1347,6 @@
/* Commands to search the source file for a regexp. */
-/* ARGSUSED */
static void
forward_search_command (char *regex, int from_tty)
{
@@ -1443,7 +1442,6 @@
fclose (stream);
}
-/* ARGSUSED */
static void
reverse_search_command (char *regex, int from_tty)
{
Index: stabsread.c
===================================================================
RCS file: /cvs/src/src/gdb/stabsread.c,v
retrieving revision 1.63
diff -u -r1.63 stabsread.c
--- stabsread.c 17 Sep 2003 19:48:42 -0000 1.63
+++ stabsread.c 20 Sep 2003 23:40:36 -0000
@@ -1211,7 +1211,6 @@
}
}
-/* ARGSUSED */
struct symbol *
define_symbol (CORE_ADDR valu, char *string, int desc, int type,
struct objfile *objfile)
Index: stack.c
===================================================================
RCS file: /cvs/src/src/gdb/stack.c,v
retrieving revision 1.86
diff -u -r1.86 stack.c
--- stack.c 16 Sep 2003 18:56:35 -0000 1.86
+++ stack.c 20 Sep 2003 23:40:36 -0000
@@ -1488,7 +1488,6 @@
}
}
-/* ARGSUSED */
void
locals_info (char *args, int from_tty)
{
@@ -1736,7 +1735,6 @@
/* Select the frame up one or COUNT stack levels
from the previously selected frame, and print it briefly. */
-/* ARGSUSED */
static void
up_silently_base (char *count_exp)
{
@@ -1773,7 +1771,6 @@
/* Select the frame down one or COUNT stack levels
from the previously selected frame, and print it briefly. */
-/* ARGSUSED */
static void
down_silently_base (char *count_exp)
{
@@ -1802,7 +1799,6 @@
selected_frame_level_changed_event (frame_relative_level (deprecated_selected_frame));
}
-/* ARGSUSED */
static void
down_silently_command (char *count_exp, int from_tty)
{
Index: symfile.c
===================================================================
RCS file: /cvs/src/src/gdb/symfile.c,v
retrieving revision 1.108
diff -u -r1.108 symfile.c
--- symfile.c 16 Sep 2003 18:56:35 -0000 1.108
+++ symfile.c 20 Sep 2003 23:40:37 -0000
@@ -1666,7 +1666,6 @@
instead a call to target_link() (in target.c) would supply the
value to use. We are now discontinuing this type of ad hoc syntax. */
-/* ARGSUSED */
static void
add_symbol_file_command (char *args, int from_tty)
{
Index: target.c
===================================================================
RCS file: /cvs/src/src/gdb/target.c,v
retrieving revision 1.53
diff -u -r1.53 target.c
--- target.c 17 Jun 2003 20:28:13 -0000 1.53
+++ target.c 20 Sep 2003 23:40:37 -0000
@@ -206,7 +206,6 @@
/* The user just typed 'target' without the name of a target. */
-/* ARGSUSED */
static void
target_command (char *arg, int from_tty)
{
@@ -260,7 +259,6 @@
(*current_target.to_load) (arg, from_tty);
}
-/* ARGSUSED */
static int
nomemory (CORE_ADDR memaddr, char *myaddr, int len, int write,
struct target_ops *t)
@@ -282,14 +280,12 @@
error ("You can't do that without a process to debug.");
}
-/* ARGSUSED */
static int
nosymbol (char *name, CORE_ADDR *addrp)
{
return 1; /* Symbol does not exist in target env */
}
-/* ARGSUSED */
static void
nosupport_runtime (void)
{
@@ -300,7 +296,6 @@
}
-/* ARGSUSED */
static void
default_terminal_info (char *args, int from_tty)
{
@@ -1077,7 +1072,6 @@
return target_xfer_memory_partial (memaddr, buf, len, 1, err);
}
-/* ARGSUSED */
static void
target_info (char *args, int from_tty)
{
@@ -1500,7 +1494,6 @@
}
/* Error-catcher for target_find_memory_regions */
-/* ARGSUSED */
static int dummy_find_memory_regions (int (*ignore1) (), void *ignore2)
{
error ("No target.");
@@ -1508,7 +1501,6 @@
}
/* Error-catcher for target_make_corefile_notes */
-/* ARGSUSED */
static char * dummy_make_corefile_notes (bfd *ignore1, int *ignore2)
{
error ("No target.");
Index: top.c
===================================================================
RCS file: /cvs/src/src/gdb/top.c,v
retrieving revision 1.77
diff -u -r1.77 top.c
--- top.c 14 Sep 2003 16:32:14 -0000 1.77
+++ top.c 20 Sep 2003 23:40:38 -0000
@@ -1504,7 +1504,6 @@
return gdb_has_a_terminal () && (instream == stdin) & caution;
}
-/* ARGSUSED */
static void
dont_repeat_command (char *ignored, int from_tty)
{
@@ -1590,7 +1589,6 @@
}
/* Called by do_setshow_command. */
-/* ARGSUSED */
static void
set_history_size_command (char *args, int from_tty, struct cmd_list_element *c)
{
@@ -1605,7 +1603,6 @@
}
}
-/* ARGSUSED */
void
set_history (char *args, int from_tty)
{
@@ -1613,7 +1610,6 @@
help_list (sethistlist, "set history ", -1, gdb_stdout);
}
-/* ARGSUSED */
void
show_history (char *args, int from_tty)
{
@@ -1623,7 +1619,6 @@
int info_verbose = 0; /* Default verbose msgs off */
/* Called by do_setshow_command. An elaborate joke. */
-/* ARGSUSED */
void
set_verbose (char *args, int from_tty, struct cmd_list_element *c)
{
Index: typeprint.c
===================================================================
RCS file: /cvs/src/src/gdb/typeprint.c,v
retrieving revision 1.20
diff -u -r1.20 typeprint.c
--- typeprint.c 14 Sep 2003 16:32:14 -0000 1.20
+++ typeprint.c 20 Sep 2003 23:40:38 -0000
@@ -173,7 +173,6 @@
do_cleanups (old_chain);
}
-/* ARGSUSED */
static void
whatis_command (char *exp, int from_tty)
{
@@ -200,7 +199,6 @@
/* TYPENAME is either the name of a type, or an expression. */
-/* ARGSUSED */
static void
ptype_command (char *typename, int from_tty)
{
Index: utils.c
===================================================================
RCS file: /cvs/src/src/gdb/utils.c,v
retrieving revision 1.109
diff -u -r1.109 utils.c
--- utils.c 19 Sep 2003 16:22:39 -0000 1.109
+++ utils.c 20 Sep 2003 23:40:39 -0000
@@ -427,7 +427,6 @@
In such cases, we may not be certain where the first cleanup is, unless
we have a do-nothing one to always use as the base. */
-/* ARGSUSED */
void
null_cleanup (void *arg)
{
@@ -1684,7 +1683,6 @@
wrap_pointer = wrap_buffer; /* Start it at the beginning. */
}
-/* ARGSUSED */
static void
set_width_command (char *args, int from_tty, struct cmd_list_element *c)
{
@@ -1692,7 +1690,6 @@
set_width ();
}
-/* ARGSUSED */
static void
set_height_command (char *args, int from_tty, struct cmd_list_element *c)
{
Index: v850ice.c
===================================================================
RCS file: /cvs/src/src/gdb/v850ice.c,v
retrieving revision 1.16
diff -u -r1.16 v850ice.c
--- v850ice.c 17 Sep 2003 14:24:31 -0000 1.16
+++ v850ice.c 20 Sep 2003 23:40:39 -0000
@@ -371,7 +371,6 @@
/* Clean up connection to a remote debugger. */
-/* ARGSUSED */
static void
v850ice_close (int quitting)
{
@@ -587,7 +586,6 @@
We can only read/write MAX_BLOCK_SIZE bytes at a time, though, or the DLL
dies. */
-/* ARGSUSED */
static int
v850ice_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len,
int should_write, struct target_ops *target)
Index: valprint.c
===================================================================
RCS file: /cvs/src/src/gdb/valprint.c,v
retrieving revision 1.30
diff -u -r1.30 valprint.c
--- valprint.c 4 Aug 2003 17:08:23 -0000 1.30
+++ valprint.c 20 Sep 2003 23:40:39 -0000
@@ -1183,14 +1183,12 @@
knows what they really did here. Radix setting is confusing, e.g.
setting the input radix to "10" never changes it! */
-/* ARGSUSED */
static void
set_input_radix (char *args, int from_tty, struct cmd_list_element *c)
{
set_input_radix_1 (from_tty, input_radix);
}
-/* ARGSUSED */
static void
set_input_radix_1 (int from_tty, unsigned radix)
{
@@ -1216,7 +1214,6 @@
}
}
-/* ARGSUSED */
static void
set_output_radix (char *args, int from_tty, struct cmd_list_element *c)
{
@@ -1278,7 +1275,6 @@
/* Show both the input and output radices. */
-/*ARGSUSED */
static void
show_radix (char *arg, int from_tty)
{
@@ -1300,7 +1296,6 @@
}
-/*ARGSUSED */
static void
set_print (char *arg, int from_tty)
{
@@ -1309,7 +1304,6 @@
help_list (setprintlist, "set print ", -1, gdb_stdout);
}
-/*ARGSUSED */
static void
show_print (char *args, int from_tty)
{
Index: values.c
===================================================================
RCS file: /cvs/src/src/gdb/values.c,v
retrieving revision 1.56
diff -u -r1.56 values.c
--- values.c 16 Sep 2003 18:56:35 -0000 1.56
+++ values.c 20 Sep 2003 23:40:39 -0000
@@ -1216,7 +1216,6 @@
0 when it is using the value returning conventions (this often
means returning pointer to where structure is vs. returning value). */
-/* ARGSUSED */
struct value *
value_being_returned (struct type *valtype, struct regcache *retbuf,
int struct_return)
Index: win32-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/win32-nat.c,v
retrieving revision 1.80
diff -u -r1.80 win32-nat.c
--- win32-nat.c 20 Sep 2003 02:38:39 -0000 1.80
+++ win32-nat.c 20 Sep 2003 23:40:40 -0000
@@ -1623,7 +1623,6 @@
attach_flag ? "attached" : "child", target_pid_to_str (inferior_ptid));
}
-/* ARGSUSED */
static void
child_open (char *arg, int from_tty)
{
Index: wince.c
===================================================================
RCS file: /cvs/src/src/gdb/wince.c,v
retrieving revision 1.23
diff -u -r1.23 wince.c
--- wince.c 12 Jun 2003 18:01:28 -0000 1.23
+++ wince.c 20 Sep 2003 23:40:40 -0000
@@ -1527,7 +1527,6 @@
target_pid_to_str (inferior_ptid));
}
-/* ARGSUSED */
static void
child_open (char *arg, int from_tty)
{
Index: cli/cli-cmds.c
===================================================================
RCS file: /cvs/src/src/gdb/cli/cli-cmds.c,v
retrieving revision 1.33
diff -u -r1.33 cli-cmds.c
--- cli/cli-cmds.c 22 Jun 2003 04:23:52 -0000 1.33
+++ cli/cli-cmds.c 20 Sep 2003 23:40:41 -0000
@@ -184,7 +184,6 @@
/* The "info" command is defined as a prefix, with allow_unknown = 0.
Therefore, its own definition is called only for "info" with no args. */
-/* ARGSUSED */
static void
info_command (char *arg, int from_tty)
{
@@ -194,7 +193,6 @@
/* The "show" command with no arguments shows all the settings. */
-/* ARGSUSED */
static void
show_command (char *arg, int from_tty)
{
@@ -204,7 +202,6 @@
/* Provide documentation on command or list given by COMMAND. FROM_TTY
is ignored. */
-/* ARGSUSED */
static void
help_command (char *command, int from_tty)
{
@@ -222,7 +219,6 @@
/* The "complete" command is used by Emacs to implement completion. */
-/* ARGSUSED */
static void
complete_command (char *arg, int from_tty)
{
@@ -275,7 +271,6 @@
return cmd_cfunc_eq (c, complete_command);
}
-/* ARGSUSED */
static void
show_version (char *args, int from_tty)
{
@@ -295,7 +290,6 @@
quit_force (args, from_tty);
}
-/* ARGSUSED */
static void
pwd_command (char *args, int from_tty)
{
@@ -439,7 +433,6 @@
do_cleanups (old_cleanups);
}
-/* ARGSUSED */
static void
echo_command (char *text, int from_tty)
{
@@ -469,7 +462,6 @@
gdb_flush (gdb_stdout);
}
-/* ARGSUSED */
static void
shell_escape (char *arg, int from_tty)
{
@@ -820,7 +812,6 @@
Two arguments are interpeted as bounds within which to dump
assembly. */
-/* ARGSUSED */
static void
disassemble_command (char *arg, int from_tty)
{
@@ -920,7 +911,6 @@
shell_escape (p, from_tty);
}
-/* ARGSUSED */
static void
show_user (char *args, int from_tty)
{
Index: cli/cli-script.c
===================================================================
RCS file: /cvs/src/src/gdb/cli/cli-script.c,v
retrieving revision 1.18
diff -u -r1.18 cli-script.c
--- cli/cli-script.c 5 Aug 2003 02:44:50 -0000 1.18
+++ cli/cli-script.c 20 Sep 2003 23:40:41 -0000
@@ -1233,7 +1233,6 @@
error_pre_print = p->old_error_pre_print;
}
-/* ARGSUSED */
static void
do_fclose_cleanup (void *stream)
{