Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/vndcompress Add __printflike to vsnprintf_ss.
details: https://anonhg.NetBSD.org/src/rev/df613fdd886d
branches: trunk
changeset: 786635:df613fdd886d
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sat May 04 15:37:39 2013 +0000
description:
Add __printflike to vsnprintf_ss.
diffstat:
usr.bin/vndcompress/vndcompress.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 88aff8f56d1d -r df613fdd886d usr.bin/vndcompress/vndcompress.c
--- a/usr.bin/vndcompress/vndcompress.c Sat May 04 15:27:39 2013 +0000
+++ b/usr.bin/vndcompress/vndcompress.c Sat May 04 15:37:39 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vndcompress.c,v 1.11 2013/05/04 15:27:39 riz Exp $ */
+/* $NetBSD: vndcompress.c,v 1.12 2013/05/04 15:37:39 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: vndcompress.c,v 1.11 2013/05/04 15:27:39 riz Exp $");
+__RCSID("$NetBSD: vndcompress.c,v 1.12 2013/05/04 15:37:39 riastradh Exp $");
#include <sys/endian.h>
@@ -52,7 +52,8 @@
/* XXX Seems to be missing from <stdio.h>... */
int snprintf_ss(char *restrict, size_t, const char *restrict, ...)
__printflike(3, 4);
-int vsnprintf_ss(char *restrict, size_t, const char *restrict, va_list);
+int vsnprintf_ss(char *restrict, size_t, const char *restrict, va_list)
+ __printflike(3, 0);
#include "common.h"
Home |
Main Index |
Thread Index |
Old Index