summaryrefslogtreecommitdiff
path: root/src/echo.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-01-06 11:44:05 +0000
committerJim Meyering <jim@meyering.net>1996-01-06 11:44:05 +0000
commit53398947a1482e8b83e204186969af6147eaae6e (patch)
treebf4de064df1f022c2e01051b45cafc454ed839c4 /src/echo.c
parent5e14cce7ae90f69cf4609b7731377e934e79c219 (diff)
downloadcoreutils-53398947a1482e8b83e204186969af6147eaae6e.tar.xz
Protoize and __P-protect forward dcls.
Diffstat (limited to 'src/echo.c')
-rw-r--r--src/echo.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/echo.c b/src/echo.c
index f0b7cd076..9a72b553a 100644
--- a/src/echo.c
+++ b/src/echo.c
@@ -64,8 +64,7 @@ on System V systems with the -E option.
char *program_name;
static void
-usage (status)
- int status;
+usage (int status)
{
if (status != 0)
fprintf (stderr, _("Try `%s --help' for more information.\n"),
@@ -103,9 +102,7 @@ Without -E, the following sequences are recognized and interpolated:\n\
`-n', then don't print a trailing newline. We also support the
echo syntax from Version 9 unix systems. */
void
-main (argc, argv)
- int argc;
- char **argv;
+main (int argc, char **argv)
{
int display_return = 1, do_v9 = 0;