Module Name:    src
Committed By:   matt
Date:           Tue Jun 14 05:35:08 UTC 2011

Modified Files:
        src/usr.sbin/installboot: installboot.h machines.c

Log Message:
A small bit of constification


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/usr.sbin/installboot/installboot.h \
    src/usr.sbin/installboot/machines.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/installboot/installboot.h
diff -u src/usr.sbin/installboot/installboot.h:1.37 src/usr.sbin/installboot/installboot.h:1.38
--- src/usr.sbin/installboot/installboot.h:1.37	Thu Jan 14 17:49:32 2010
+++ src/usr.sbin/installboot/installboot.h	Tue Jun 14 05:35:08 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: installboot.h,v 1.37 2010/01/14 17:49:32 drochner Exp $	*/
+/*	$NetBSD: installboot.h,v 1.38 2011/06/14 05:35:08 matt Exp $	*/
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -135,7 +135,7 @@
 	bbinfo_endian	endian;
 };
 
-extern struct ib_mach	*machines[];
+extern struct ib_mach	* const machines[];
 extern struct ib_fs	fstypes[];
 
 	/* installboot.c */
Index: src/usr.sbin/installboot/machines.c
diff -u src/usr.sbin/installboot/machines.c:1.37 src/usr.sbin/installboot/machines.c:1.38
--- src/usr.sbin/installboot/machines.c:1.37	Wed Jan 26 01:18:55 2011
+++ src/usr.sbin/installboot/machines.c	Tue Jun 14 05:35:08 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: machines.c,v 1.37 2011/01/26 01:18:55 pooka Exp $	*/
+/*	$NetBSD: machines.c,v 1.38 2011/06/14 05:35:08 matt Exp $	*/
 
 /*-
  * Copyright (c) 2002-2005 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
 
 #include <sys/cdefs.h>
 #if !defined(__lint)
-__RCSID("$NetBSD: machines.c,v 1.37 2011/01/26 01:18:55 pooka Exp $");
+__RCSID("$NetBSD: machines.c,v 1.38 2011/06/14 05:35:08 matt Exp $");
 #endif	/* !__lint */
 
 #include <sys/types.h>
@@ -68,7 +68,7 @@
     ib_mach_vax,
     ib_mach_x68k;
 
-struct ib_mach *machines[] = {
+struct ib_mach * const machines[] = {
     &ib_mach_alpha,
     &ib_mach_amd64,
     &ib_mach_amiga,

Reply via email to