|
From: <sv...@va...> - 2009-05-13 08:24:37
|
Author: sewardj
Date: 2009-05-13 09:24:24 +0100 (Wed, 13 May 2009)
New Revision: 9840
Log:
Comment/layout changes (w.r.t. XML printing) only.
Modified:
branches/MESSAGING_TIDYUP/exp-ptrcheck/pc_common.c
Modified: branches/MESSAGING_TIDYUP/exp-ptrcheck/pc_common.c
===================================================================
--- branches/MESSAGING_TIDYUP/exp-ptrcheck/pc_common.c 2009-05-13 08:23:34 UTC (rev 9839)
+++ branches/MESSAGING_TIDYUP/exp-ptrcheck/pc_common.c 2009-05-13 08:24:24 UTC (rev 9840)
@@ -256,8 +256,8 @@
// //
//////////////////////////////////////////////////////////////
-/* Do a printf-style op (with a trailing \n) on either the XML or
- normal output channel, depending on the setting of VG_(clo_xml).
+/* Do a printf-style operation on either the XML or normal output
+ channel, depending on the setting of VG_(clo_xml).
*/
static void emit_WRK ( HChar* format, va_list vargs )
{
@@ -267,7 +267,6 @@
VG_(vmessage)(Vg_UserMsg, format, vargs);
}
}
-
static void emit ( HChar* format, ... ) PRINTF_CHECK(1, 2);
static void emit ( HChar* format, ... )
{
@@ -277,6 +276,7 @@
va_end(vargs);
}
+
static Char* readwrite(SSizeT sszB)
{
return ( sszB < 0 ? "write" : "read" );
|