From: Philippe Waroquiers Date: Tue, 21 Apr 2015 20:56:49 +0000 (+0000) Subject: Move a comment useful to the caller to the .h, rather than keeping it X-Git-Tag: svn/VALGRIND_3_11_0~472 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d6c0fde7fe6c412889df6493e33954dd2ccbb715;p=thirdparty%2Fvalgrind.git Move a comment useful to the caller to the .h, rather than keeping it in the .c git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15127 --- diff --git a/coregrind/m_libcprint.c b/coregrind/m_libcprint.c index b6efaada53..114467fb16 100644 --- a/coregrind/m_libcprint.c +++ b/coregrind/m_libcprint.c @@ -647,9 +647,6 @@ void VG_(err_config_error) ( const HChar* format, ... ) 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 ) diff --git a/include/pub_tool_libcprint.h b/include/pub_tool_libcprint.h index 60e47531cb..5d38127403 100644 --- a/include/pub_tool_libcprint.h +++ b/include/pub_tool_libcprint.h @@ -154,7 +154,9 @@ extern UInt VG_(dmsg)( const HChar* format, ... ) PRINTF_CHECK(1, 2); /* 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