summaryrefslogtreecommitdiff
path: root/libitm
diff options
context:
space:
mode:
authormpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>2014-10-06 12:35:06 +0000
committermpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>2014-10-06 12:35:06 +0000
commit7743567b7462b55e84680d45e3cdbd9b5467c000 (patch)
treef57f49b01139f3a2e9ef883f34f3eba6de99b6f5 /libitm
parent5720186d18883ddbbfcd422dd7e8638e19fd7bf3 (diff)
downloadgcc-7743567b7462b55e84680d45e3cdbd9b5467c000.tar.gz
* testsuite/libitm.c/memcpy-1.c: Declare getpagesize.
* testsuite/libitm.c/memset-1.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215931 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libitm')
-rw-r--r--libitm/ChangeLog5
-rw-r--r--libitm/testsuite/libitm.c/memcpy-1.c1
-rw-r--r--libitm/testsuite/libitm.c/memset-1.c1
3 files changed, 7 insertions, 0 deletions
diff --git a/libitm/ChangeLog b/libitm/ChangeLog
index ce1cc219ae2..f35a630c950 100644
--- a/libitm/ChangeLog
+++ b/libitm/ChangeLog
@@ -1,3 +1,8 @@
+2014-10-06 Marek Polacek <polacek@redhat.com>
+
+ * testsuite/libitm.c/memcpy-1.c: Declare getpagesize.
+ * testsuite/libitm.c/memset-1.c: Likewise.
+
2014-07-24 Richard Henderson <rth@redhat.com>
* config/aarch64/sjlj.S (_ITM_beginTransaction): Use post-inc
diff --git a/libitm/testsuite/libitm.c/memcpy-1.c b/libitm/testsuite/libitm.c/memcpy-1.c
index 03b381285df..32a4b6c3d54 100644
--- a/libitm/testsuite/libitm.c/memcpy-1.c
+++ b/libitm/testsuite/libitm.c/memcpy-1.c
@@ -32,6 +32,7 @@
static unsigned char *buf1, *buf2;
static size_t bufsize, page_size;
static int fail;
+int getpagesize (void);
static void
do_test (size_t align1, size_t align2, size_t len)
diff --git a/libitm/testsuite/libitm.c/memset-1.c b/libitm/testsuite/libitm.c/memset-1.c
index 11aea458ca1..91ae2857cb8 100644
--- a/libitm/testsuite/libitm.c/memset-1.c
+++ b/libitm/testsuite/libitm.c/memset-1.c
@@ -32,6 +32,7 @@
static unsigned char *buf;
static size_t bufsize, page_size;
static int fail;
+int getpagesize (void);
#ifndef MAP_ANONYMOUS
# ifdef MAP_ANON