summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-03-02 16:55:26 +0000
committerpeter <peter@FreeBSD.org>1996-03-02 16:55:26 +0000
commit56c5438768ddd3522e79c198c5f0dc9169815543 (patch)
treef042af1653ebb5b85ef3a9cf7a7189f4eacf3d84
parente85d8354c613b16077f14b1475ceb856e8f77cad (diff)
downloadFreeBSD-src-56c5438768ddd3522e79c198c5f0dc9169815543.zip
FreeBSD-src-56c5438768ddd3522e79c198c5f0dc9169815543.tar.gz
Change madvise prototype from 'int len' to 'size_t len'. All the other
m* syscalls were prototyped as size_t already. Add missing mincore() and minherit() prototypes, as suggested by bde.
-rw-r--r--sys/sys/mman.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/sys/mman.h b/sys/sys/mman.h
index f019587..e1e1748 100644
--- a/sys/sys/mman.h
+++ b/sys/sys/mman.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)mman.h 8.1 (Berkeley) 6/2/93
- * $Id: mman.h,v 1.8 1995/07/13 08:48:02 davidg Exp $
+ * $Id: mman.h,v 1.9 1995/11/30 20:59:08 se Exp $
*/
#ifndef _SYS_MMAN_H_
@@ -91,12 +91,14 @@
__BEGIN_DECLS
/* Some of these int's should probably be size_t's */
caddr_t mmap __P((caddr_t, size_t, int, int, int, off_t));
-int madvise __P((caddr_t, int, int));
+int madvise __P((caddr_t, size_t, int));
int mprotect __P((caddr_t, size_t, int));
int munmap __P((caddr_t, size_t));
int msync __P((caddr_t, size_t, int));
int mlock __P((caddr_t, size_t));
int munlock __P((caddr_t, size_t));
+int mincore __P((caddr_t, size_t, char *));
+int minherit __P((caddr_t, size_t, int));
__END_DECLS
#endif /* !KERNEL */
OpenPOWER on IntegriCloud