From: Nicholas Nethercote Date: Sat, 11 Jun 2005 03:31:09 +0000 (+0000) Subject: Move OINK from tool.h to pub_tool_libcprint.h. X-Git-Tag: svn/VALGRIND_3_0_0~435 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ffc2a3f8ee45bf94366bf14dabf7715a5b5eea24;p=thirdparty%2Fvalgrind.git Move OINK from tool.h to pub_tool_libcprint.h. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3883 --- diff --git a/include/pub_tool_libcprint.h b/include/pub_tool_libcprint.h index 8e44d23a1b..b9155b37b5 100644 --- a/include/pub_tool_libcprint.h +++ b/include/pub_tool_libcprint.h @@ -49,6 +49,9 @@ extern UInt VG_(vsprintf)( Char* buf, const HChar* format, va_list vargs ); Messages for the user ------------------------------------------------------------------ */ +/* No, really. I _am_ that strange. */ +#define OINK(nnn) VG_(message)(Vg_DebugMsg, "OINK %d",nnn) + /* Print a message prefixed by "???? "; '?' depends on the VgMsgKind. Should be used for all user output. */ diff --git a/include/tool.h b/include/tool.h index cd44a61194..9560482982 100644 --- a/include/tool.h +++ b/include/tool.h @@ -63,9 +63,6 @@ #define VG_PGROUNDDN(p) VG_ROUNDDN(p, VKI_PAGE_SIZE) #define VG_PGROUNDUP(p) VG_ROUNDUP(p, VKI_PAGE_SIZE) -/* No, really. I _am_ that strange. */ -#define OINK(nnn) VG_(message)(Vg_DebugMsg, "OINK %d",nnn) - /* Path to all our library/aux files */ extern const Char *VG_(libdir);