Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/mach Add reference to mach_syscallnames. Spotted ...



details:   https://anonhg.NetBSD.org/src/rev/5f9748c3d146
branches:  trunk
changeset: 756583:5f9748c3d146
user:      jym <jym%NetBSD.org@localhost>
date:      Sun Jul 25 11:25:57 2010 +0000

description:
Add reference to mach_syscallnames. Spotted by compiling ALL.

diffstat:

 sys/compat/mach/mach_exec.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r aca3749c65f8 -r 5f9748c3d146 sys/compat/mach/mach_exec.c
--- a/sys/compat/mach/mach_exec.c       Sun Jul 25 10:31:45 2010 +0000
+++ b/sys/compat/mach/mach_exec.c       Sun Jul 25 11:25:57 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mach_exec.c,v 1.73 2010/07/07 01:30:36 chs Exp $        */
+/*     $NetBSD: mach_exec.c,v 1.74 2010/07/25 11:25:57 jym Exp $        */
 
 /*-
  * Copyright (c) 2001-2003 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mach_exec.c,v 1.73 2010/07/07 01:30:36 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mach_exec.c,v 1.74 2010/07/25 11:25:57 jym Exp $");
 
 #include "opt_syscall_debug.h"
 
@@ -59,6 +59,7 @@
 static void mach_init(void);
 
 extern struct sysent sysent[];
+extern const char * const mach_syscallnames[];
 #ifndef __HAVE_SYSCALL_INTERN
 void syscall(void);
 #else



Home | Main Index | Thread Index | Old Index