From 0a8cfca39dc5cf532db9cd48832c348dcb24904b Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Sun, 2 Sep 2007 23:06:21 +0000 Subject: [PATCH] missing ISC_FORMAT_PRINTF --- lib/isc/include/isc/string.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/isc/include/isc/string.h b/lib/isc/include/isc/string.h index 1373cf26aa..ea27fc6d5d 100644 --- a/lib/isc/include/isc/string.h +++ b/lib/isc/include/isc/string.h @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: string.h,v 1.12.18.3 2005/08/16 04:39:05 marka Exp $ */ +/* $Id: string.h,v 1.12.18.4 2007/09/02 23:06:21 marka Exp $ */ #ifndef ISC_STRING_H #define ISC_STRING_H 1 @@ -134,7 +134,8 @@ isc_string_append_truncate(char *target, size_t size, const char *source); */ isc_result_t -isc_string_printf(char *target, size_t size, const char *format, ...); +isc_string_printf(char *target, size_t size, const char *format, ...) + ISC_FORMAT_PRINTF(3, 4); /* * Print 'format' to 'target' which is a pointer to a string of at least * 'size' bytes.