Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern improve "const" consistency
details: https://anonhg.NetBSD.org/src/rev/c3a0e4a15679
branches: trunk
changeset: 757681:c3a0e4a15679
user: drochner <drochner%NetBSD.org@localhost>
date: Sun Sep 12 16:06:08 2010 +0000
description:
improve "const" consistency
diffstat:
sys/kern/subr_userconf.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 72c2d2d0304c -r c3a0e4a15679 sys/kern/subr_userconf.c
--- a/sys/kern/subr_userconf.c Sun Sep 12 16:04:57 2010 +0000
+++ b/sys/kern/subr_userconf.c Sun Sep 12 16:06:08 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_userconf.c,v 1.19 2009/10/20 00:51:13 snj Exp $ */
+/* $NetBSD: subr_userconf.c,v 1.20 2010/09/12 16:06:08 drochner Exp $ */
/*
* Copyright (c) 1996 Mats O Jansson <moj%stacken.kth.se@localhost>
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_userconf.c,v 1.19 2009/10/20 00:51:13 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_userconf.c,v 1.20 2010/09/12 16:06:08 drochner Exp $");
#include "opt_userconf.h"
@@ -803,7 +803,7 @@
void
user_config(void)
{
- char prompt[] = "uc> ";
+ const char prompt[] = "uc> ";
userconf_init();
printf("userconf: configure system autoconfiguration:\n");
Home |
Main Index |
Thread Index |
Old Index