From: Florian Krohm Date: Sat, 16 May 2015 16:16:37 +0000 (+0000) Subject: Cleanups to allow compilation with -Wold-style-declaration. X-Git-Tag: svn/VALGRIND_3_11_0^2~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c63a1c484268281fda2062d5200f829142386805;p=thirdparty%2Fvalgrind.git Cleanups to allow compilation with -Wold-style-declaration. git-svn-id: svn://svn.valgrind.org/vex/trunk@3146 --- diff --git a/VEX/priv/guest_s390_toIR.c b/VEX/priv/guest_s390_toIR.c index 96d4432f47..023cb7d9b1 100644 --- a/VEX/priv/guest_s390_toIR.c +++ b/VEX/priv/guest_s390_toIR.c @@ -235,7 +235,7 @@ mkite(IRExpr *condition, IRExpr *iftrue, IRExpr *iffalse) } /* Add a statement that stores DATA at ADDR. This is a big-endian machine. */ -static void __inline__ +static __inline__ void store(IRExpr *addr, IRExpr *data) { stmt(IRStmt_Store(Iend_BE, addr, data)); diff --git a/VEX/priv/ir_inject.c b/VEX/priv/ir_inject.c index af36c38794..012eecd589 100644 --- a/VEX/priv/ir_inject.c +++ b/VEX/priv/ir_inject.c @@ -141,7 +141,7 @@ store_aux(IRSB *irsb, IREndness endian, IRExpr *addr, IRExpr *data) /* Store a value to memory. If a value requires more than 8 bytes a series of 8-byte stores will be generated. */ -static void __inline__ +static __inline__ void store(IRSB *irsb, IREndness endian, HWord haddr, IRExpr *data) { IROp high, low;