aboutsummaryrefslogtreecommitdiffstats
path: root/src/yes.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/yes.c')
-rw-r--r--src/yes.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/yes.c b/src/yes.c
index 8bafe5b6a..2b78ea51c 100644
--- a/src/yes.c
+++ b/src/yes.c
@@ -29,8 +29,7 @@
char *program_name;
static void
-usage (status)
- int status;
+usage (int status)
{
if (status != 0)
fprintf (stderr, _("Try `%s --help' for more information.\n"),
@@ -48,9 +47,7 @@ Repeatedly output a line with all specified STRING(s), or `y'.\n\
}
void
-main (argc, argv)
- int argc;
- char **argv;
+main (int argc, char **argv)
{
program_name = argv[0];