Source-Changes-HG archive

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

[src/trunk]: src/sys/kern const police!



details:   https://anonhg.NetBSD.org/src/rev/2133ba1ca3cb
branches:  trunk
changeset: 350518:2133ba1ca3cb
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Jan 13 06:11:27 2017 +0000

description:
const police!

diffstat:

 sys/kern/makesyscalls.sh |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 292a42e0c7b6 -r 2133ba1ca3cb sys/kern/makesyscalls.sh
--- a/sys/kern/makesyscalls.sh  Fri Jan 13 06:04:48 2017 +0000
+++ b/sys/kern/makesyscalls.sh  Fri Jan 13 06:11:27 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: makesyscalls.sh,v 1.165 2016/10/28 23:44:32 christos Exp $
+#      $NetBSD: makesyscalls.sh,v 1.166 2017/01/13 06:11:27 christos Exp $
 #
 # Copyright (c) 1994, 1996, 2000 Christopher G. Demetriou
 # All rights reserved.
@@ -793,7 +793,7 @@
        printf("\t/* %s */\n\tcase %d:\n", funcname, syscall) > systraceret
        if (argc > 0) {
                printf("\t\tswitch(ndx) {\n") > systracetmp
-               printf("\t\tstruct %s%s_args *p = params;\n", compatwrap_, funcname) > systrace
+               printf("\t\tconst struct %s%s_args *p = params;\n", compatwrap_, funcname) > systrace
                for (i = 1; i <= argc; i++) {
                        arg = argtype[i]
                        sub("__restrict$", "", arg)



Home | Main Index | Thread Index | Old Index