summaryrefslogtreecommitdiffstats
path: root/bin/echo
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2001-05-20 04:37:28 +0000
committerkris <kris@FreeBSD.org>2001-05-20 04:37:28 +0000
commit64971df121a04df55a87ca34f6508ceaf0b85824 (patch)
tree928397a2ea7bf6361d581abc3f719e2d13edaaea /bin/echo
parentc616c02d005a06f33151f41cd696244e6e7466fc (diff)
downloadFreeBSD-src-64971df121a04df55a87ca34f6508ceaf0b85824.zip
FreeBSD-src-64971df121a04df55a87ca34f6508ceaf0b85824.tar.gz
Make this pass WARNS=2 and BDECFLAGS
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 d00d467..b62bd42 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 edab483..71fecd4 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;
OpenPOWER on IntegriCloud