]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Cleanups to allow compilation with -Wold-style-declaration.
authorFlorian Krohm <florian@eich-krohm.de>
Sat, 16 May 2015 16:16:37 +0000 (16:16 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Sat, 16 May 2015 16:16:37 +0000 (16:16 +0000)
git-svn-id: svn://svn.valgrind.org/vex/trunk@3146

VEX/priv/guest_s390_toIR.c
VEX/priv/ir_inject.c

index 96d4432f4760b43b61194651d312e322ac5831d8..023cb7d9b15293982c78aac138422b8dfe740bbd 100644 (file)
@@ -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));
index af36c3879476fe8284ab06ccae5bc5e7fd05c58b..012eecd58970bec2ce9248ea751d89f24dd56450 100644 (file)
@@ -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;