Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/tic Prefer __printflike.



details:   https://anonhg.NetBSD.org/src/rev/5161303778ed
branches:  trunk
changeset: 779503:5161303778ed
user:      joerg <joerg%NetBSD.org@localhost>
date:      Thu May 31 19:00:41 2012 +0000

description:
Prefer __printflike.

diffstat:

 usr.bin/tic/tic.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r dc1255d624c3 -r 5161303778ed usr.bin/tic/tic.c
--- a/usr.bin/tic/tic.c Thu May 31 18:53:33 2012 +0000
+++ b/usr.bin/tic/tic.c Thu May 31 19:00:41 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tic.c,v 1.12 2011/11/09 07:40:27 roy Exp $ */
+/* $NetBSD: tic.c,v 1.13 2012/05/31 19:00:41 joerg Exp $ */
 
 /*
  * Copyright (c) 2009, 2010 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: tic.c,v 1.12 2011/11/09 07:40:27 roy Exp $");
+__RCSID("$NetBSD: tic.c,v 1.13 2012/05/31 19:00:41 joerg Exp $");
 
 #include <sys/types.h>
 
@@ -77,7 +77,7 @@
                unlink(dbname);
 }
 
-static void __attribute__((__format__(__printf__, 1, 2)))
+static void __printflike(1, 2)
 dowarn(const char *fmt, ...)
 {
        va_list va;



Home | Main Index | Thread Index | Old Index