[INN-COMMITTERS] inn/include/portable (mmap.h)

Russ Allbery Russ_Allbery at isc.org
Fri Mar 15 19:35:19 UTC 2002


    Date: Friday, March 15, 2002 @ 11:35:19
  Author: rra
    Path: /dist1/cvs/isc/inn/inn/include/portable

Modified: mmap.h

Add wrapper macros around munmap, msync, and madvise to cast the first
argument to a void *, thus silencing compiler warnings on Solaris where
those functions are prototyped to take caddr_t instead of void * as they
should unless the X/Open feature test macros are set.


--------+
 mmap.h |   27 +++++++++++++++++++--------
 1 files changed, 19 insertions(+), 8 deletions(-)


More information about the inn-committers mailing list