Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/usr.bin/compress Pull up revision 1.18 (requested by he):



details:   https://anonhg.NetBSD.org/src/rev/ec2c18d3f04d
branches:  netbsd-1-4
changeset: 471058:ec2c18d3f04d
user:      he <he%NetBSD.org@localhost>
date:      Thu Oct 19 16:31:11 2000 +0000

description:
Pull up revision 1.18 (requested by he):
  Format string cleanup.

diffstat:

 usr.bin/compress/compress.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 5698031763e7 -r ec2c18d3f04d usr.bin/compress/compress.c
--- a/usr.bin/compress/compress.c       Thu Oct 19 16:31:05 2000 +0000
+++ b/usr.bin/compress/compress.c       Thu Oct 19 16:31:11 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: compress.c,v 1.17 1998/10/08 01:56:28 wsanchez Exp $   */
+/*     $NetBSD: compress.c,v 1.17.2.1 2000/10/19 16:31:11 he Exp $     */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -43,7 +43,7 @@
 #if 0
 static char sccsid[] = "@(#)compress.c 8.2 (Berkeley) 1/7/94";
 #else
-__RCSID("$NetBSD: compress.c,v 1.17 1998/10/08 01:56:28 wsanchez Exp $");
+__RCSID("$NetBSD: compress.c,v 1.17.2.1 2000/10/19 16:31:11 he Exp $");
 #endif
 #endif /* not lint */
 
@@ -65,8 +65,8 @@
 #endif
 
 void   compress __P((char *, char *, int));
-void   cwarn __P((const char *, ...));
-void   cwarnx __P((const char *, ...));
+void   cwarn __P((const char *, ...)) __attribute__((__format__(__printf__,1,2)));
+void   cwarnx __P((const char *, ...)) __attribute__((__format__(__printf__,1,2)));
 void   decompress __P((char *, char *, int));
 int    permission __P((char *));
 void   setfile __P((char *, struct stat *));



Home | Main Index | Thread Index | Old Index