* 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

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