memcpy-1.c: Declare getpagesize.
authorMarek Polacek <polacek@redhat.com>
Mon, 6 Oct 2014 12:35:06 +0000 (12:35 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Mon, 6 Oct 2014 12:35:06 +0000 (12:35 +0000)
* testsuite/libitm.c/memcpy-1.c: Declare getpagesize.
* testsuite/libitm.c/memset-1.c: Likewise.

From-SVN: r215931

libitm/ChangeLog
libitm/testsuite/libitm.c/memcpy-1.c
libitm/testsuite/libitm.c/memset-1.c

index ce1cc219ae21010aceee78468d825158fc045c91..f35a630c9502e36a43eaa42675c475d7350a2a8c 100644 (file)
@@ -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
index 03b381285df3b7034377518101279d7922b8f855..32a4b6c3d5461b5dbce23570515b5ab139663984 100644 (file)
@@ -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)
index 11aea458ca1c5b4a3256a18a0a1d769cc3bcd93d..91ae2857cb8a81e22bda0ebde7de8bcbb77940a7 100644 (file)
@@ -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