Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Need a few funny #defines in kern_syscall.c too.



details:   https://anonhg.NetBSD.org/src/rev/8bd35f3feb28
branches:  trunk
changeset: 753959:8bd35f3feb28
user:      pooka <pooka%NetBSD.org@localhost>
date:      Wed Apr 14 15:15:37 2010 +0000

description:
Need a few funny #defines in kern_syscall.c too.

diffstat:

 sys/kern/kern_stub.c    |  9 ++-------
 sys/kern/kern_syscall.c |  9 +++++++--
 2 files changed, 9 insertions(+), 9 deletions(-)

diffs (54 lines):

diff -r 07b426ccf688 -r 8bd35f3feb28 sys/kern/kern_stub.c
--- a/sys/kern/kern_stub.c      Wed Apr 14 15:12:44 2010 +0000
+++ b/sys/kern/kern_stub.c      Wed Apr 14 15:15:37 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_stub.c,v 1.24 2010/04/14 15:12:44 pooka Exp $     */
+/*     $NetBSD: kern_stub.c,v 1.25 2010/04/14 15:15:37 pooka Exp $     */
 
 /*-
  * Copyright (c) 2007, 2008 The NetBSD Foundation, Inc.
@@ -62,17 +62,12 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_stub.c,v 1.24 2010/04/14 15:12:44 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_stub.c,v 1.25 2010/04/14 15:15:37 pooka Exp $");
 
 #include "opt_ptrace.h"
 #include "opt_ktrace.h"
 #include "opt_sa.h"
 
-/* XXX To get syscall prototypes. */
-#define SYSVSHM
-#define SYSVSEM
-#define SYSVMSG
-
 #include <sys/param.h>
 #include <sys/kernel.h>
 #include <sys/proc.h>
diff -r 07b426ccf688 -r 8bd35f3feb28 sys/kern/kern_syscall.c
--- a/sys/kern/kern_syscall.c   Wed Apr 14 15:12:44 2010 +0000
+++ b/sys/kern/kern_syscall.c   Wed Apr 14 15:15:37 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_syscall.c,v 1.2 2010/04/14 15:12:44 pooka Exp $   */
+/*     $NetBSD: kern_syscall.c,v 1.3 2010/04/14 15:15:37 pooka Exp $   */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -30,10 +30,15 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_syscall.c,v 1.2 2010/04/14 15:12:44 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_syscall.c,v 1.3 2010/04/14 15:15:37 pooka Exp $");
 
 #include "opt_modular.h"
 
+/* XXX To get syscall prototypes. */
+#define SYSVSHM
+#define SYSVSEM
+#define SYSVMSG
+
 #include <sys/param.h>
 #include <sys/module.h>
 #include <sys/syscall.h>



Home | Main Index | Thread Index | Old Index