|
From: <sv...@va...> - 2015-05-12 21:44:55
|
Author: florian
Date: Tue May 12 22:44:48 2015
New Revision: 15220
Log:
Get prototype from system header.
Modified:
trunk/none/tests/linux/mremap4.c
Modified: trunk/none/tests/linux/mremap4.c
==============================================================================
--- trunk/none/tests/linux/mremap4.c (original)
+++ trunk/none/tests/linux/mremap4.c Tue May 12 22:44:48 2015
@@ -1,12 +1,11 @@
+#define _GNU_SOURCE
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#include <sys/stat.h>
-
-
-extern void *mremap(void *, size_t, size_t, int, ...);
+#include <sys/mman.h>
int main()
{
|