* include/sys/mman.h (MAP_FAILED): Define as void *.

This commit is contained in:
Corinna Vinschen 2003-10-09 11:40:16 +00:00
parent 6ddad5e1dd
commit a8e5f8c6c2
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-10-09 Yitzchak Scott-Thoennes <sthoenna@efn.org>
* include/sys/mman.h (MAP_FAILED): Define as void *.
2003-10-08 Christopher Faylor <cgf@redhat.com> 2003-10-08 Christopher Faylor <cgf@redhat.com>
* dcrt0.cc (hMainProc): Initialize to useful value for use when dll is * dcrt0.cc (hMainProc): Initialize to useful value for use when dll is

View File

@ -31,7 +31,7 @@ extern "C" {
#define MAP_ANONYMOUS 0x20 #define MAP_ANONYMOUS 0x20
#define MAP_ANON MAP_ANONYMOUS #define MAP_ANON MAP_ANONYMOUS
#define MAP_FAILED ((caddr_t)-1) #define MAP_FAILED ((void *)-1)
/* /*
* Flags for msync. * Flags for msync.