summaryrefslogtreecommitdiffstats
path: root/bin/stty
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2001-05-20 05:25:37 +0000
committerkris <kris@FreeBSD.org>2001-05-20 05:25:37 +0000
commit749bca5ec25366bffe4a51c48364e032b56a58f2 (patch)
tree44e022f684258719d1b09fb5ea95fa14ca06152e /bin/stty
parentfe984982f453942927ba1ad762ef3ea981eaa1f6 (diff)
downloadFreeBSD-src-749bca5ec25366bffe4a51c48364e032b56a58f2.zip
FreeBSD-src-749bca5ec25366bffe4a51c48364e032b56a58f2.tar.gz
Silence WARNS=2 and BDECFLAGS on alpha and i386
MFC after: 1 week
Diffstat (limited to 'bin/stty')
-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 82b15eb..645686d 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 2422a46..8a9a03a 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;
OpenPOWER on IntegriCloud