Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/vax/mba Declare string pointers const.
details: https://anonhg.NetBSD.org/src/rev/447dd426408e
branches: trunk
changeset: 581640:447dd426408e
user: ragge <ragge%NetBSD.org@localhost>
date: Fri Jun 03 12:55:44 2005 +0000
description:
Declare string pointers const.
diffstat:
sys/arch/vax/mba/mbavar.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 6ab7c69b16f3 -r 447dd426408e sys/arch/vax/mba/mbavar.h
--- a/sys/arch/vax/mba/mbavar.h Fri Jun 03 12:48:25 2005 +0000
+++ b/sys/arch/vax/mba/mbavar.h Fri Jun 03 12:55:44 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mbavar.h,v 1.8 2002/07/22 21:48:37 hannken Exp $ */
+/* $NetBSD: mbavar.h,v 1.9 2005/06/03 12:55:44 ragge Exp $ */
/*
* Copyright (c) 1994 Ludd, University of Lule}, Sweden
* All rights reserved.
@@ -80,7 +80,7 @@
struct mba_attach_args {
int ma_unit;
int ma_type;
- char *ma_name;
+ const char *ma_name;
enum mb_devices ma_devtyp;
bus_space_tag_t ma_iot;
bus_space_handle_t ma_ioh;
@@ -115,7 +115,7 @@
struct mbaunit {
int nr;
- char *name;
+ const char *name;
enum mb_devices devtyp;
};
Home |
Main Index |
Thread Index |
Old Index