missing ISC_FORMAT_PRINTF

This commit is contained in:
Mark Andrews
2007-09-02 23:06:59 +00:00
parent 3325fd0475
commit 6f4375f230

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: string.h,v 1.20 2007/06/19 23:47:18 tbox Exp $ */
/* $Id: string.h,v 1.21 2007/09/02 23:06:59 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.