From ab0a9ba34ade9dc8771c34ec3ed692f428c548e3 Mon Sep 17 00:00:00 2001 From: Florian Krohm Date: Tue, 12 May 2015 21:44:48 +0000 Subject: [PATCH] Get prototype from system header. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15220 --- none/tests/linux/mremap4.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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() { -- 2.47.3