From 7f204f9b36342c5b6386a35aa86505cadb97d108 Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Sun, 20 May 2001 05:25:37 +0000 Subject: Silence WARNS=2 and BDECFLAGS on alpha and i386 MFC after: 1 week --- bin/stty/Makefile | 2 ++ bin/stty/gfmt.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'bin') 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 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; -- cgit v1.2.3