Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/conf Pull up rev. 1.31:
details: https://anonhg.NetBSD.org/src/rev/f6ab48e8b7f6
branches: netbsd-1-5
changeset: 488521:f6ab48e8b7f6
user: thorpej <thorpej%NetBSD.org@localhost>
date: Fri Jul 14 18:04:45 2000 +0000
description:
Pull up rev. 1.31:
Const'ify string constants.
diffstat:
sys/conf/newvers.sh | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (30 lines):
diff -r 6cfdb06783f9 -r f6ab48e8b7f6 sys/conf/newvers.sh
--- a/sys/conf/newvers.sh Fri Jul 14 18:03:35 2000 +0000
+++ b/sys/conf/newvers.sh Fri Jul 14 18:04:45 2000 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: newvers.sh,v 1.30 2000/01/23 23:39:19 hubertf Exp $
+# $NetBSD: newvers.sh,v 1.30.4.1 2000/07/14 18:04:45 thorpej Exp $
#
# Copyright (c) 1984, 1986, 1990, 1993
# The Regents of the University of California. All rights reserved.
@@ -52,14 +52,14 @@
ost="NetBSD"
osr=`sh $osrelcmd`
-echo "char ostype[] = \"${ost}\";" > vers.c
-echo "char osrelease[] = \"${osr}\";" >> vers.c
+echo "const char ostype[] = \"${ost}\";" > vers.c
+echo "const char osrelease[] = \"${osr}\";" >> vers.c
echo \
- "char sccs[] = \
+ "const char sccs[] = \
\"@""(#)${ost} ${osr} (${id}) #${v}: ${t}\\n ${u}@${h}:${d}\\n\";" \
>> vers.c
echo \
- "char version[] = \
+ "const char version[] = \
\"${ost} ${osr} (${id}) #${v}: ${t}\\n ${u}@${h}:${d}\\n\";" \
>> vers.c
Home |
Main Index |
Thread Index |
Old Index