From: Florian Krohm Date: Tue, 12 May 2015 21:44:48 +0000 (+0000) Subject: Get prototype from system header. X-Git-Tag: svn/VALGRIND_3_11_0~399 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ab0a9ba34ade9dc8771c34ec3ed692f428c548e3;p=thirdparty%2Fvalgrind.git Get prototype from system header. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15220 --- diff --git a/none/tests/linux/mremap4.c b/none/tests/linux/mremap4.c index 1f83dab31e..3fe2307de7 100644 --- a/none/tests/linux/mremap4.c +++ b/none/tests/linux/mremap4.c @@ -1,12 +1,11 @@ +#define _GNU_SOURCE #include #include #include #include #include #include - - -extern void *mremap(void *, size_t, size_t, int, ...); +#include int main() {