Subject: Missing prototype for madvise().
To: None <current-users@sun-lamp.cs.berkeley.edu, cgd@sun-lamp.cs.berkeley.edu>
From: Jan-Oliver Neumann <jan@encap.Hanse.DE>
List: current-users
Date: 07/15/1994 18:12:26
I already sent a bug-report a month ago but I believe it got lost.
<sys/mman.h> is missing a prototype for madvise(), here's a diff:

*** mman.h~	Fri Jul 15 18:07:29 1994
--- mman.h	Fri Jul 15 18:08:56 1994
***************
*** 86,91 ****
--- 86,92 ----
  int	msync __P((caddr_t, size_t));
  int	mlock __P((caddr_t, size_t));
  int	munlock __P((caddr_t, size_t));
+ int	madvise __P((caddr_t, size_t, int));
  __END_DECLS
  
  #endif /* !KERNEL */

------------------------------------------------------------------------------