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
This commit is contained in:
Bart Van Assche 2008-12-25 09:31:40 +00:00
parent 2b296eff40
commit d69b1fc884

View File

@ -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)
{