diff --git a/usr.bin/compress/compress.c b/usr.bin/compress/compress.c index 49781962b8ce..4f91f6c6cb52 100644 --- a/usr.bin/compress/compress.c +++ b/usr.bin/compress/compress.c @@ -65,8 +65,8 @@ static const char rcsid[] = #include "zopen.h" void compress __P((char *, char *, int)); -void cwarn __P((const char *, ...)); -void cwarnx __P((const char *, ...)); +void cwarn __P((const char *, ...)) __printflike(1, 2); +void cwarnx __P((const char *, ...)) __printflike(1, 2); void decompress __P((char *, char *, int)); int permission __P((char *)); void setfile __P((char *, struct stat *));