Format functions: change format specifier %t into %pS. Remove the _no_f_c formatting function variants.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12108
This commit is contained in:
Bart Van Assche
2011-10-06 19:08:37 +00:00
parent c19fbe2e9a
commit 71a513f01a
12 changed files with 96 additions and 141 deletions

View File

@@ -138,15 +138,10 @@ extern void VG_(getContentsXA_UNSAFE)( XArray* sr,
/* Convenience function: printf into an XArray of HChar, adding stuff
at the end. This is very convenient for concocting arbitrary
length printf output in an XArray. Note that the resulting string
is NOT zero-terminated. Versions are provided with and without a
format check, the latter so the unknown (to gcc) "%t" can be used
without gcc complaining. */
is NOT zero-terminated. */
extern void VG_(xaprintf)( XArray* dst, const HChar* format, ... )
PRINTF_CHECK(2, 3);
extern void VG_(xaprintf_no_f_c)
( XArray* dst, const HChar* format, ... );
#endif // __PUB_TOOL_XARRAY_H
/*--------------------------------------------------------------------*/