|
From: <sv...@va...> - 2009-02-23 02:08:32
|
Author: njn
Date: 2009-02-23 02:08:24 +0000 (Mon, 23 Feb 2009)
New Revision: 9230
Log:
Add missing __extension__ markings on a couple of clreqs.
Modified:
trunk/include/valgrind.h
Modified: trunk/include/valgrind.h
===================================================================
--- trunk/include/valgrind.h 2009-02-23 01:57:26 UTC (rev 9229)
+++ trunk/include/valgrind.h 2009-02-23 02:08:24 UTC (rev 9230)
@@ -3880,6 +3880,7 @@
/* Return 1 if a mempool exists, else 0. */
#define VALGRIND_MEMPOOL_EXISTS(pool) \
+ __extension__ \
({unsigned int _qzz_res; \
VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \
VG_USERREQ__MEMPOOL_EXISTS, \
@@ -3889,6 +3890,7 @@
/* Mark a piece of memory as being a stack. Returns a stack id. */
#define VALGRIND_STACK_REGISTER(start, end) \
+ __extension__ \
({unsigned int _qzz_res; \
VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \
VG_USERREQ__STACK_REGISTER, \
|