A small bit of constification
This commit is contained in:
parent
d8a675c3cd
commit
b418df248c
|
@ -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 @@ struct bbinfo_params {
|
|||
bbinfo_endian endian;
|
||||
};
|
||||
|
||||
extern struct ib_mach *machines[];
|
||||
extern struct ib_mach * const machines[];
|
||||
extern struct ib_fs fstypes[];
|
||||
|
||||
/* installboot.c */
|
||||
|
|
|
@ -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 @@ struct ib_mach
|
|||
ib_mach_vax,
|
||||
ib_mach_x68k;
|
||||
|
||||
struct ib_mach *machines[] = {
|
||||
struct ib_mach * const machines[] = {
|
||||
&ib_mach_alpha,
|
||||
&ib_mach_amd64,
|
||||
&ib_mach_amiga,
|
||||
|
|
Loading…
Reference in New Issue