aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2001-05-20 05:25:37 +0000
committerKris Kennaway <kris@FreeBSD.org>2001-05-20 05:25:37 +0000
commit7f204f9b36342c5b6386a35aa86505cadb97d108 (patch)
treeda4459b64ca6c8e36e8638ebdcf55dedc5fa0db1 /bin
parent0a26b6bbc030b2f5d4482d12d533083e202761eb (diff)
downloadsrc-7f204f9b36342c5b6386a35aa86505cadb97d108.tar.gz
src-7f204f9b36342c5b6386a35aa86505cadb97d108.zip
Notes
Diffstat (limited to 'bin')
-rw-r--r--bin/stty/Makefile2
-rw-r--r--bin/stty/gfmt.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/bin/stty/Makefile b/bin/stty/Makefile
index 82b15eb7fcae..645686dc5001 100644
--- a/bin/stty/Makefile
+++ b/bin/stty/Makefile
@@ -4,4 +4,6 @@
PROG= stty
SRCS= cchar.c gfmt.c key.c modes.c print.c stty.c util.c
+WARNS= 2
+
.include <bsd.prog.mk>
diff --git a/bin/stty/gfmt.c b/bin/stty/gfmt.c
index 2422a46de579..8a9a03a52dc1 100644
--- a/bin/stty/gfmt.c
+++ b/bin/stty/gfmt.c
@@ -63,8 +63,8 @@ gerr(s)
void
gprint(tp, wp, ldisc)
struct termios *tp;
- struct winsize *wp;
- int ldisc;
+ struct winsize *wp __unused;
+ int ldisc __unused;
{
struct cchar *cp;