diff options
author | kris <kris@FreeBSD.org> | 2001-05-20 05:25:37 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2001-05-20 05:25:37 +0000 |
commit | 749bca5ec25366bffe4a51c48364e032b56a58f2 (patch) | |
tree | 44e022f684258719d1b09fb5ea95fa14ca06152e /bin/stty | |
parent | fe984982f453942927ba1ad762ef3ea981eaa1f6 (diff) | |
download | FreeBSD-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/Makefile | 2 | ||||
-rw-r--r-- | bin/stty/gfmt.c | 4 |
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; |