From 6209021ebdcecfd64e9994c62377551f97aa5b83 Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Thu, 5 Jul 2001 09:54:59 +0000 Subject: [PATCH] Mark some functions as __printflike() MFC after: 1 week --- usr.bin/compress/compress.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 *));