Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/linux/common Add a const.



details:   https://anonhg.NetBSD.org/src/rev/a2114085a438
branches:  trunk
changeset: 581574:a2114085a438
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Thu Jun 02 16:54:52 2005 +0000

description:
Add a const.

diffstat:

 sys/compat/linux/common/linux_exec.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 3c516679aa3c -r a2114085a438 sys/compat/linux/common/linux_exec.c
--- a/sys/compat/linux/common/linux_exec.c      Thu Jun 02 16:47:42 2005 +0000
+++ b/sys/compat/linux/common/linux_exec.c      Thu Jun 02 16:54:52 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_exec.c,v 1.75 2005/05/20 12:48:27 fvdl Exp $     */
+/*     $NetBSD: linux_exec.c,v 1.76 2005/06/02 16:54:52 tsutsui Exp $  */
 
 /*-
  * Copyright (c) 1994, 1995, 1998, 2000 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_exec.c,v 1.75 2005/05/20 12:48:27 fvdl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_exec.c,v 1.76 2005/06/02 16:54:52 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -121,7 +121,7 @@
        "/emul/linux",
 #ifndef __HAVE_MINIMAL_EMUL
        0,
-       (int*)native_to_linux_errno,
+       (const int *)native_to_linux_errno,
        LINUX_SYS_syscall,
        LINUX_SYS_NSYSENT,
 #endif



Home | Main Index | Thread Index | Old Index