From a38d2d274a108575292df805a0d246e21db34a93 Mon Sep 17 00:00:00 2001 From: christos Date: Tue, 31 May 2005 00:49:42 +0000 Subject: [PATCH] sprinkle const. --- sys/arch/sparc64/include/autoconf.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/arch/sparc64/include/autoconf.h b/sys/arch/sparc64/include/autoconf.h index 22140d9bda81..a2aee2f7babe 100644 --- a/sys/arch/sparc64/include/autoconf.h +++ b/sys/arch/sparc64/include/autoconf.h @@ -1,4 +1,4 @@ -/* $NetBSD: autoconf.h,v 1.21 2004/03/21 14:10:08 pk Exp $ */ +/* $NetBSD: autoconf.h,v 1.22 2005/05/31 00:49:42 christos Exp $ */ /*- * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc. @@ -86,7 +86,7 @@ /* This is used to map device classes to IPLs */ struct intrmap { - char *in_class; + const char *in_class; int in_lev; }; extern struct intrmap intrmap[]; @@ -113,7 +113,7 @@ struct upa_reg { struct mainbus_attach_args { bus_space_tag_t ma_bustag; /* parent bus tag */ bus_dma_tag_t ma_dmatag; - char *ma_name; /* PROM node name */ + const char *ma_name; /* PROM node name */ struct upa_reg *ma_reg; /* "reg" properties */ u_int *ma_address; /* "address" properties -- 32 bits */ u_int *ma_interrupts; /* "interrupts" properties */ @@ -158,5 +158,5 @@ void mountroot_hook_establish __P((void (*) __P((struct device *)), struct device *)); void bootstrap __P((int)); -struct device *getdevunit __P((char *, int)); +struct device *getdevunit __P((const char *, int)); int romgetcursoraddr __P((int **, int **));