]> git.ipfire.org Git - thirdparty/valgrind.git/commit
mips32: finetune vfp test to avoid compiler warnings
authorPetar Jovanovic <mips32r2@gmail.com>
Thu, 17 Aug 2017 18:08:17 +0000 (20:08 +0200)
committerPetar Jovanovic <mips32r2@gmail.com>
Thu, 17 Aug 2017 18:08:17 +0000 (20:08 +0200)
commitb343cc638a058f325d766a91e14a4afd40b305e5
tree40faddf0ea810cdf24b4f5aca8a46df22c10d1c4
parent9f3c890a9c161ab5bae9704d78c0e94b6cf2b9d6
mips32: finetune vfp test to avoid compiler warnings

This patch removes two compiler warnings from the test:

vfp.c: In function 'handler':
vfp.c:260:4: warning: implicit declaration of function 'exit'
[-Wimplicit-function-declaration]
    exit(0);
    ^
vfp.c:260:4: warning: incompatible implicit declaration of built-in
function 'exit'
vfp.c: At top level:
vfp.c:258:13: warning: 'handler' defined but not used [-Wunused-function]
 static void handler(int sig)
             ^
none/tests/mips32/vfp.c