From: Bart Van Assche Date: Thu, 25 Dec 2008 09:31:40 +0000 (+0000) Subject: Moved two define's, such that the ABIWARNING appears immediately before the enum... X-Git-Tag: svn/VALGRIND_3_4_0~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d69b1fc884aa0cbdcdcafe9893231a1ea5725a6e;p=thirdparty%2Fvalgrind.git 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 --- 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) {