Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/osf1 Fix SYSCALL_DEBUG build.



details:   https://anonhg.NetBSD.org/src/rev/c9a3d55c96fa
branches:  trunk
changeset: 767550:c9a3d55c96fa
user:      njoly <njoly%NetBSD.org@localhost>
date:      Fri Jul 22 10:02:08 2011 +0000

description:
Fix SYSCALL_DEBUG build.

diffstat:

 sys/compat/osf1/osf1_file.c  |  8 ++++++--
 sys/compat/osf1/osf1_ioctl.c |  6 +++---
 sys/compat/osf1/osf1_misc.c  |  8 ++------
 3 files changed, 11 insertions(+), 11 deletions(-)

diffs (85 lines):

diff -r 235a1684d63b -r c9a3d55c96fa sys/compat/osf1/osf1_file.c
--- a/sys/compat/osf1/osf1_file.c       Fri Jul 22 09:15:10 2011 +0000
+++ b/sys/compat/osf1/osf1_file.c       Fri Jul 22 10:02:08 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: osf1_file.c,v 1.40 2010/06/24 13:03:07 hannken Exp $ */
+/* $NetBSD: osf1_file.c,v 1.41 2011/07/22 10:02:08 njoly Exp $ */
 
 /*
  * Copyright (c) 1999 Christopher G. Demetriou.  All rights reserved.
@@ -58,7 +58,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: osf1_file.c,v 1.40 2010/06/24 13:03:07 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: osf1_file.c,v 1.41 2011/07/22 10:02:08 njoly Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_syscall_debug.h"
@@ -94,6 +94,10 @@
 #include <compat/osf1/osf1_cvt.h>
 #include <compat/osf1/osf1_dirent.h>
 
+#ifdef SYSCALL_DEBUG
+extern int scdebug;
+#endif
+
 int
 osf1_sys_access(struct lwp *l, const struct osf1_sys_access_args *uap, register_t *retval)
 {
diff -r 235a1684d63b -r c9a3d55c96fa sys/compat/osf1/osf1_ioctl.c
--- a/sys/compat/osf1/osf1_ioctl.c      Fri Jul 22 09:15:10 2011 +0000
+++ b/sys/compat/osf1/osf1_ioctl.c      Fri Jul 22 10:02:08 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: osf1_ioctl.c,v 1.22 2007/12/20 23:03:03 dsl Exp $      */
+/*     $NetBSD: osf1_ioctl.c,v 1.23 2011/07/22 10:02:08 njoly Exp $    */
 
 /*
  * Copyright (c) 1999 Christopher G. Demetriou.  All rights reserved.
@@ -58,7 +58,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: osf1_ioctl.c,v 1.22 2007/12/20 23:03:03 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: osf1_ioctl.c,v 1.23 2011/07/22 10:02:08 njoly Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_compat_43.h"
@@ -92,7 +92,7 @@
        struct sys_ioctl_args a;
        int op, dir, group, cmd, len;
 #ifdef SYSCALL_DEBUG
-       char *dirstr;
+       const char *dirstr;
 #endif
 
        op = SCARG(uap, com);
diff -r 235a1684d63b -r c9a3d55c96fa sys/compat/osf1/osf1_misc.c
--- a/sys/compat/osf1/osf1_misc.c       Fri Jul 22 09:15:10 2011 +0000
+++ b/sys/compat/osf1/osf1_misc.c       Fri Jul 22 10:02:08 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: osf1_misc.c,v 1.85 2010/04/23 15:19:20 rmind Exp $ */
+/* $NetBSD: osf1_misc.c,v 1.86 2011/07/22 10:02:08 njoly Exp $ */
 
 /*
  * Copyright (c) 1999 Christopher G. Demetriou.  All rights reserved.
@@ -58,7 +58,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: osf1_misc.c,v 1.85 2010/04/23 15:19:20 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: osf1_misc.c,v 1.86 2011/07/22 10:02:08 njoly Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_syscall_debug.h"
@@ -95,10 +95,6 @@
 #include <compat/common/compat_util.h>
 #include <compat/osf1/osf1_cvt.h>
 
-#ifdef SYSCALL_DEBUG
-extern int scdebug;
-#endif
-
 int
 osf1_sys_classcntl(struct lwp *l, const struct osf1_sys_classcntl_args *uap, register_t *retval)
 {



Home | Main Index | Thread Index | Old Index