summaryrefslogtreecommitdiff
path: root/none
diff options
context:
space:
mode:
authorflorian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9>2011-06-25 02:06:21 +0000
committerflorian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9>2011-06-25 02:06:21 +0000
commiteb67dbf0bae27a165d9547b9e11029e283df3618 (patch)
tree55f408979dddd4e6afdd0e2fc1d3b09a6ada9a73 /none
parentefc9bd7f323a05685b07cdfede3b727e635cb97c (diff)
Get rid of some compiler warnings.
Fixes 275339 (Christian Borntraeger <borntraeger@de.ibm.com>) git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11832 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'none')
-rw-r--r--none/tests/s390x/fgx.c1
-rw-r--r--none/tests/s390x/op_exception.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/none/tests/s390x/fgx.c b/none/tests/s390x/fgx.c
index 83d9723c..6c790539 100644
--- a/none/tests/s390x/fgx.c
+++ b/none/tests/s390x/fgx.c
@@ -1,4 +1,5 @@
#include <stdio.h>
+#include <string.h>
#include "opcodes.h"
int main()
diff --git a/none/tests/s390x/op_exception.c b/none/tests/s390x/op_exception.c
index d6e86796..35c8602f 100644
--- a/none/tests/s390x/op_exception.c
+++ b/none/tests/s390x/op_exception.c
@@ -33,6 +33,6 @@ int main()
asm volatile(".long 0xffffffff\n.long 0xffff0000\n");
if (got_ill)
printf("0xffffffff does not loop\n");
-
+ return 0;
}