Source-Changes-HG archive

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

[src/trunk]: src/lib/libbluetooth Use __printflike.



details:   https://anonhg.NetBSD.org/src/rev/5ca1d65f729e
branches:  trunk
changeset: 778353:5ca1d65f729e
user:      joerg <joerg%NetBSD.org@localhost>
date:      Thu Mar 22 23:46:49 2012 +0000

description:
Use __printflike.

diffstat:

 lib/libbluetooth/sdp_data.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f0a1d0b87c60 -r 5ca1d65f729e lib/libbluetooth/sdp_data.c
--- a/lib/libbluetooth/sdp_data.c       Thu Mar 22 23:46:26 2012 +0000
+++ b/lib/libbluetooth/sdp_data.c       Thu Mar 22 23:46:49 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sdp_data.c,v 1.3 2011/09/15 17:51:57 plunky Exp $      */
+/*     $NetBSD: sdp_data.c,v 1.4 2012/03/22 23:46:49 joerg Exp $       */
 
 /*-
  * Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: sdp_data.c,v 1.3 2011/09/15 17:51:57 plunky Exp $");
+__RCSID("$NetBSD: sdp_data.c,v 1.4 2012/03/22 23:46:49 joerg Exp $");
 
 #include <sdp.h>
 #include <stdarg.h>
@@ -325,7 +325,7 @@
  *
  * print out a SDP data element list in human readable format
  */
-static void
+static __printflike(3, 4) void
 _sdp_put(int indent, const char *type, const char *fmt, ...)
 {
        va_list ap;



Home | Main Index | Thread Index | Old Index