memcpy-1.c: Declare getpagesize.

* testsuite/libitm.c/memcpy-1.c: Declare getpagesize.
	* testsuite/libitm.c/memset-1.c: Likewise.

From-SVN: r215931
This commit is contained in:
Marek Polacek 2014-10-06 12:35:06 +00:00 committed by Marek Polacek
parent 22274fac01
commit 9918374125
3 changed files with 7 additions and 0 deletions

View 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

View 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)

View 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