aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/copying.c')
-rw-r--r--gdb/copying.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/gdb/copying.c b/gdb/copying.c
index 76414bdf122..a78a862b97d 100644
--- a/gdb/copying.c
+++ b/gdb/copying.c
@@ -13,9 +13,7 @@ void _initialize_copying (void);
extern int immediate_quit;
static void
-show_copying_command (ignore, from_tty)
- char *ignore;
- int from_tty;
+show_copying_command (char *ignore, int from_tty)
{
immediate_quit++;
printf_filtered (" GNU GENERAL PUBLIC LICENSE\n");
@@ -279,9 +277,7 @@ show_copying_command (ignore, from_tty)
}
static void
-show_warranty_command (ignore, from_tty)
- char *ignore;
- int from_tty;
+show_warranty_command (char *ignore, int from_tty)
{
immediate_quit++;
printf_filtered (" NO WARRANTY\n");
@@ -310,7 +306,7 @@ show_warranty_command (ignore, from_tty)
}
void
-_initialize_copying ()
+_initialize_copying (void)
{
add_cmd ("copying", no_class, show_copying_command,
"Conditions for redistributing copies of GDB.",