Module Name:    src
Committed By:   joerg
Date:           Thu Mar 22 23:46:49 UTC 2012

Modified Files:
        src/lib/libbluetooth: sdp_data.c

Log Message:
Use __printflike.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/libbluetooth/sdp_data.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libbluetooth/sdp_data.c
diff -u src/lib/libbluetooth/sdp_data.c:1.3 src/lib/libbluetooth/sdp_data.c:1.4
--- src/lib/libbluetooth/sdp_data.c:1.3	Thu Sep 15 17:51:57 2011
+++ src/lib/libbluetooth/sdp_data.c	Thu Mar 22 23:46:49 2012
@@ -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 @@ sdp_data_valid(const sdp_data_t *data)
  *
  * 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;

Reply via email to