Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sbmips/sbmips Adapt to -Wcast-qual.
details: https://anonhg.NetBSD.org/src/rev/96f1530c37c3
branches: trunk
changeset: 581690:96f1530c37c3
user: he <he%NetBSD.org@localhost>
date: Fri Jun 03 20:58:33 2005 +0000
description:
Adapt to -Wcast-qual.
diffstat:
sys/arch/sbmips/sbmips/disksubr.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 9153cd1e7d3b -r 96f1530c37c3 sys/arch/sbmips/sbmips/disksubr.c
--- a/sys/arch/sbmips/sbmips/disksubr.c Fri Jun 03 20:49:12 2005 +0000
+++ b/sys/arch/sbmips/sbmips/disksubr.c Fri Jun 03 20:58:33 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: disksubr.c,v 1.9 2003/10/08 04:25:46 lukem Exp $ */
+/* $NetBSD: disksubr.c,v 1.10 2005/06/03 20:58:33 he Exp $ */
/*
* Copyright (c) 1982, 1986, 1988 Regents of the University of California.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.9 2003/10/08 04:25:46 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.10 2005/06/03 20:58:33 he Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -106,7 +106,7 @@
struct dkbad *bdp;
struct buf *bp;
struct disklabel *dlp;
- char *msg = NULL;
+ const char *msg = NULL;
int dospartoff, cyl, i;
/* minimal requirements for archtypal disk label */
Home |
Main Index |
Thread Index |
Old Index