|
From: <sv...@va...> - 2015-04-21 20:56:55
|
Author: philippe
Date: Tue Apr 21 21:56:49 2015
New Revision: 15127
Log:
Move a comment useful to the caller to the .h, rather than keeping it
in the .c
Modified:
trunk/coregrind/m_libcprint.c
trunk/include/pub_tool_libcprint.h
Modified: trunk/coregrind/m_libcprint.c
==============================================================================
--- trunk/coregrind/m_libcprint.c (original)
+++ trunk/coregrind/m_libcprint.c Tue Apr 21 21:56:49 2015
@@ -647,9 +647,6 @@
VG_(sr_as_string)()
------------------------------------------------------------------ */
-/* Return a textual representation of a SysRes value in a statically
- allocated buffer. The buffer will be overwritten with the next
- invocation. */
#if defined(VGO_linux)
// FIXME: Does this function need to be adjusted for MIPS's _valEx ?
const HChar *VG_(sr_as_string) ( SysRes sr )
Modified: trunk/include/pub_tool_libcprint.h
==============================================================================
--- trunk/include/pub_tool_libcprint.h (original)
+++ trunk/include/pub_tool_libcprint.h Tue Apr 21 21:56:49 2015
@@ -154,7 +154,9 @@
/* Flush any output cached by previous calls to VG_(message) et al. */
extern void VG_(message_flush) ( void );
-/* Return a SysRes value as a character string. */
+/* Return a textual representation of a SysRes value in a statically
+ allocated buffer. The buffer will be overwritten with the next
+ invocation. */
extern const HChar *VG_(sr_as_string) ( SysRes sr );
#endif // __PUB_TOOL_LIBCPRINT_H
|