diff options
-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 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; |