Source-Changes-HG archive

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

[src/trunk]: src/sys/kern In preparation for modularization of the SYSV* opti...



details:   https://anonhg.NetBSD.org/src/rev/be45c46dc894
branches:  trunk
changeset: 338141:be45c46dc894
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Tue May 12 05:19:20 2015 +0000

description:
In preparation for modularization of the SYSV* options, restore the
use of opt_sysv.h to get the -DSYSVxxx definitions.

diffstat:

 sys/kern/sysv_msg.c |  8 +++++---
 sys/kern/sysv_sem.c |  8 +++++---
 sys/kern/sysv_shm.c |  8 +++++---
 3 files changed, 15 insertions(+), 9 deletions(-)

diffs (69 lines):

diff -r 4046da41ab18 -r be45c46dc894 sys/kern/sysv_msg.c
--- a/sys/kern/sysv_msg.c       Tue May 12 05:18:50 2015 +0000
+++ b/sys/kern/sysv_msg.c       Tue May 12 05:19:20 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sysv_msg.c,v 1.66 2014/02/25 18:30:11 pooka Exp $      */
+/*     $NetBSD: sysv_msg.c,v 1.67 2015/05/12 05:19:20 pgoyette Exp $   */
 
 /*-
  * Copyright (c) 1999, 2006, 2007 The NetBSD Foundation, Inc.
@@ -50,9 +50,11 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sysv_msg.c,v 1.66 2014/02/25 18:30:11 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sysv_msg.c,v 1.67 2015/05/12 05:19:20 pgoyette Exp $");
 
-#define SYSVMSG
+#ifdef _KERNEL_OPT
+#include "opt_sysv.h"
+#endif
 
 #include <sys/param.h>
 #include <sys/kernel.h>
diff -r 4046da41ab18 -r be45c46dc894 sys/kern/sysv_sem.c
--- a/sys/kern/sysv_sem.c       Tue May 12 05:18:50 2015 +0000
+++ b/sys/kern/sysv_sem.c       Tue May 12 05:19:20 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sysv_sem.c,v 1.91 2014/09/05 05:54:48 matt Exp $       */
+/*     $NetBSD: sysv_sem.c,v 1.92 2015/05/12 05:19:20 pgoyette Exp $   */
 
 /*-
  * Copyright (c) 1999, 2007 The NetBSD Foundation, Inc.
@@ -39,9 +39,11 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sysv_sem.c,v 1.91 2014/09/05 05:54:48 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sysv_sem.c,v 1.92 2015/05/12 05:19:20 pgoyette Exp $");
 
-#define SYSVSEM
+#ifdef _KERNEL_OPT
+#include "opt_sysv.h"
+#endif
 
 #include <sys/param.h>
 #include <sys/kernel.h>
diff -r 4046da41ab18 -r be45c46dc894 sys/kern/sysv_shm.c
--- a/sys/kern/sysv_shm.c       Tue May 12 05:18:50 2015 +0000
+++ b/sys/kern/sysv_shm.c       Tue May 12 05:19:20 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sysv_shm.c,v 1.125 2014/05/27 21:00:46 njoly Exp $     */
+/*     $NetBSD: sysv_shm.c,v 1.126 2015/05/12 05:19:20 pgoyette Exp $  */
 
 /*-
  * Copyright (c) 1999, 2007 The NetBSD Foundation, Inc.
@@ -61,9 +61,11 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sysv_shm.c,v 1.125 2014/05/27 21:00:46 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sysv_shm.c,v 1.126 2015/05/12 05:19:20 pgoyette Exp $");
 
-#define SYSVSHM
+#ifdef _KERNEL_OPT
+#include "opt_sysv.h"
+#endif
 
 #include <sys/param.h>
 #include <sys/kernel.h>



Home | Main Index | Thread Index | Old Index