From c63a1c484268281fda2062d5200f829142386805 Mon Sep 17 00:00:00 2001 From: Florian Krohm Date: Sat, 16 May 2015 16:16:37 +0000 Subject: [PATCH] Cleanups to allow compilation with -Wold-style-declaration. git-svn-id: svn://svn.valgrind.org/vex/trunk@3146 --- VEX/priv/guest_s390_toIR.c | 2 +- VEX/priv/ir_inject.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.47.2