Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys Use MAP_ANONYNOUS (POSIX). Define MAP_ANON as MAP_A...



details:   https://anonhg.NetBSD.org/src/rev/75bf7566cfa1
branches:  trunk
changeset: 330243:75bf7566cfa1
user:      matt <matt%NetBSD.org@localhost>
date:      Mon Jun 30 21:46:33 2014 +0000

description:
Use MAP_ANONYNOUS (POSIX).  Define MAP_ANON as MAP_ANONYMOUS.

diffstat:

 sys/sys/mman.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 9ae1327ef45b -r 75bf7566cfa1 sys/sys/mman.h
--- a/sys/sys/mman.h    Mon Jun 30 21:34:22 2014 +0000
+++ b/sys/sys/mman.h    Mon Jun 30 21:46:33 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mman.h,v 1.45 2013/12/19 19:11:50 rmind Exp $  */
+/*     $NetBSD: mman.h,v 1.46 2014/06/30 21:46:33 matt Exp $   */
 
 /*-
  * Copyright (c) 1982, 1986, 1993
@@ -94,7 +94,8 @@
  * Mapping type
  */
 #define        MAP_FILE        0x0000  /* map from file (default) */
-#define        MAP_ANON        0x1000  /* allocated from memory, swap space */
+#define        MAP_ANONYMOUS   0x1000  /* allocated from memory, swap space */
+#define        MAP_ANON        MAP_ANONYMOUS
 #define        MAP_STACK       0x2000  /* allocated from memory, swap space (stack) */
 
 /*



Home | Main Index | Thread Index | Old Index