Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Add another const.



details:   https://anonhg.NetBSD.org/src/rev/5ed9a995b219
branches:  trunk
changeset: 500265:5ed9a995b219
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Sat Dec 09 05:33:27 2000 +0000

description:
Add another const.

diffstat:

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

diffs (19 lines):

diff -r 615cea098290 -r 5ed9a995b219 sys/kern/makesyscalls.sh
--- a/sys/kern/makesyscalls.sh  Sat Dec 09 05:31:10 2000 +0000
+++ b/sys/kern/makesyscalls.sh  Sat Dec 09 05:33:27 2000 +0000
@@ -1,5 +1,5 @@
 #! /bin/sh -
-#      $NetBSD: makesyscalls.sh,v 1.40 2000/12/09 05:27:08 mycroft Exp $
+#      $NetBSD: makesyscalls.sh,v 1.41 2000/12/09 05:33:27 mycroft Exp $
 #
 # Copyright (c) 1994, 1996, 2000 Christopher G. Demetriou
 # All rights reserved.
@@ -179,7 +179,7 @@
        printf "#if defined(_KERNEL) && !defined(_LKM)\n" > sysnames
 
        printf "#endif /* _KERNEL && ! _LKM */\n\n" > sysnamesbottom
-       printf "const char *%s[] = {\n",namesname > sysnamesbottom
+       printf "const char *const %s[] = {\n",namesname > sysnamesbottom
 
        printf " * created from%s\n */\n\n", $0 > sysnumhdr
 



Home | Main Index | Thread Index | Old Index