From d69b1fc884aa0cbdcdcafe9893231a1ea5725a6e Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 25 Dec 2008 09:31:40 +0000 Subject: [PATCH] Moved two define's, such that the ABIWARNING appears immediately before the enum declaration it applies to. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8884 --- drd/drd.h | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/drd/drd.h b/drd/drd.h index b8fdc4e39b..8c4d0e376e 100644 --- a/drd/drd.h +++ b/drd/drd.h @@ -68,17 +68,6 @@ which use client requests. DO NOT CHANGE THE ORDER OF THESE ENTRIES, NOR DELETE ANY -- add new ones at the end. */ - - -/** Tell DRD to suppress data race detection on the specified variable. */ -#define DRD_IGNORE_VAR(x) vg_drd_ignore_range(&(x), sizeof(x)) - -/** Tell DRD to trace all memory accesses on the specified variable. - * until the memory that was allocated for the variable is freed. - */ -#define DRD_TRACE_VAR(x) vg_drd_trace_range(&(x), sizeof(x)) - - enum { /* Ask the core the thread ID assigned by Valgrind. */ @@ -106,6 +95,15 @@ enum }; +/** Tell DRD to suppress data race detection on the specified variable. */ +#define DRD_IGNORE_VAR(x) vg_drd_ignore_range(&(x), sizeof(x)) + +/** Tell DRD to trace all memory accesses on the specified variable. + * until the memory that was allocated for the variable is freed. + */ +#define DRD_TRACE_VAR(x) vg_drd_trace_range(&(x), sizeof(x)) + + static __inline__ int vg_get_valgrind_threadid(void) { -- 2.47.3