|
From: <sv...@va...> - 2011-06-25 02:11:20
|
Author: florian
Date: 2011-06-25 03:06:21 +0100 (Sat, 25 Jun 2011)
New Revision: 11832
Log:
Get rid of some compiler warnings.
Fixes 275339 (Christian Borntraeger <bor...@de...>)
Modified:
trunk/NEWS
trunk/none/tests/s390x/fgx.c
trunk/none/tests/s390x/op_exception.c
Modified: trunk/NEWS
===================================================================
--- trunk/NEWS 2011-06-25 01:54:03 UTC (rev 11831)
+++ trunk/NEWS 2011-06-25 02:06:21 UTC (rev 11832)
@@ -258,6 +258,7 @@
275151] New: Fedora 15 / glibc-2.14 'make regtest' FAIL
fixed
+275339 - s390x: fix testcase compile warnings
Release 3.6.1 (16 February 2011)
Modified: trunk/none/tests/s390x/fgx.c
===================================================================
--- trunk/none/tests/s390x/fgx.c 2011-06-25 01:54:03 UTC (rev 11831)
+++ trunk/none/tests/s390x/fgx.c 2011-06-25 02:06:21 UTC (rev 11832)
@@ -1,4 +1,5 @@
#include <stdio.h>
+#include <string.h>
#include "opcodes.h"
int main()
Modified: trunk/none/tests/s390x/op_exception.c
===================================================================
--- trunk/none/tests/s390x/op_exception.c 2011-06-25 01:54:03 UTC (rev 11831)
+++ trunk/none/tests/s390x/op_exception.c 2011-06-25 02:06:21 UTC (rev 11832)
@@ -33,6 +33,6 @@
asm volatile(".long 0xffffffff\n.long 0xffff0000\n");
if (got_ill)
printf("0xffffffff does not loop\n");
-
+ return 0;
}
|