From f4f9ac56c3c81d652970292771da7a4020ee45b5 Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Fri, 20 Oct 2006 22:52:34 +0000 Subject: [PATCH] Move VG_BUGS_TO to pub_tool_basics.h so that Nulgrind need not import pub_tool_libcassert.h. MERGED FROM TRUNK git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_2_BRANCH@6328 --- include/pub_tool_basics.h | 3 +++ include/pub_tool_libcassert.h | 3 --- none/nl_main.c | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/include/pub_tool_basics.h b/include/pub_tool_basics.h index 0e8ab27e2b..c3639a7e1e 100644 --- a/include/pub_tool_basics.h +++ b/include/pub_tool_basics.h @@ -138,6 +138,9 @@ SysRes; #define VG_STRINGIFZ(__str) #__str #define VG_STRINGIFY(__str) VG_STRINGIFZ(__str) +// Where to send bug reports to. +#define VG_BUGS_TO "www.valgrind.org" + #endif /* __PUB_TOOL_BASICS_H */ /*--------------------------------------------------------------------*/ diff --git a/include/pub_tool_libcassert.h b/include/pub_tool_libcassert.h index f5e8eaf7c1..464d596f93 100644 --- a/include/pub_tool_libcassert.h +++ b/include/pub_tool_libcassert.h @@ -31,9 +31,6 @@ #ifndef __PUB_TOOL_LIBCBASSERT_H #define __PUB_TOOL_LIBCBASSERT_H -// Where to send bug reports to. -#define VG_BUGS_TO "www.valgrind.org" - #define tl_assert(expr) \ ((void) ((expr) ? 0 : \ (VG_(assert_fail) (/*isCore?*/False, #expr, \ diff --git a/none/nl_main.c b/none/nl_main.c index 350cb19af0..b7fe2fdcc0 100644 --- a/none/nl_main.c +++ b/none/nl_main.c @@ -29,7 +29,6 @@ */ #include "pub_tool_basics.h" -#include "pub_tool_libcassert.h" #include "pub_tool_tooliface.h" static void nl_post_clo_init(void) -- 2.47.2