aboutsummaryrefslogtreecommitdiff
path: root/bin/echo
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2001-05-20 04:37:28 +0000
committerKris Kennaway <kris@FreeBSD.org>2001-05-20 04:37:28 +0000
commit0c37bb21201544620fef2e3e2a2f367be28e5191 (patch)
tree0e4f870c49b52cf7899412b88c090ea0b798c6fa /bin/echo
parenta95a13bb8f0c527777e6b061f2c6e988961500a4 (diff)
Notes
Diffstat (limited to 'bin/echo')
-rw-r--r--bin/echo/Makefile2
-rw-r--r--bin/echo/echo.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/bin/echo/Makefile b/bin/echo/Makefile
index d00d4679d7ac..b62bd423041c 100644
--- a/bin/echo/Makefile
+++ b/bin/echo/Makefile
@@ -3,4 +3,6 @@
PROG= echo
+WARNS= 2
+
.include <bsd.prog.mk>
diff --git a/bin/echo/echo.c b/bin/echo/echo.c
index edab483ddbbc..71fecd4ca7da 100644
--- a/bin/echo/echo.c
+++ b/bin/echo/echo.c
@@ -49,9 +49,11 @@ static const char rcsid[] =
#include <stdlib.h>
#include <string.h>
+int main __P((int, char *[]));
+
int
main(argc, argv)
- int argc;
+ int argc __unused;
char *argv[];
{
int nflag;