From 0433215cafe643adab1b1fee09c8ac04b8efa518 Mon Sep 17 00:00:00 2001 From: he Date: Sat, 12 Jun 2004 14:44:42 +0000 Subject: [PATCH] Add "extern" to a couple of array declarations. Declaring an undimensioned array in the outer scope will produce warnings that it's assumed to have one element, and under -Werror will fail to compile. --- distrib/utils/sysinst/arch/mac68k/md.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/distrib/utils/sysinst/arch/mac68k/md.h b/distrib/utils/sysinst/arch/mac68k/md.h index e35fca546c88..4d6c46aec2f3 100644 --- a/distrib/utils/sysinst/arch/mac68k/md.h +++ b/distrib/utils/sysinst/arch/mac68k/md.h @@ -1,4 +1,4 @@ -/* $NetBSD: md.h,v 1.20 2004/06/06 06:07:01 christos Exp $ */ +/* $NetBSD: md.h,v 1.21 2004/06/12 14:44:42 he Exp $ */ /* * Copyright 1997 Piermont Information Systems Inc. @@ -65,7 +65,7 @@ typedef struct { * This should match the definitions in include/machine/disklabel.h * and must conform to the matching rules in arch/mac68k/mac68k/disksubr.c */ -MAP_TYPE map_types[]; +extern MAP_TYPE map_types[]; /* * Define NetBSD partition types @@ -177,7 +177,7 @@ typedef struct { * Has minimal entry for an old Apple SCSI driver, a newer 43 SCSI * driver and an IDE driver (for those Macs with IDE). */ -struct apple_part_map_entry new_map[]; +extern struct apple_part_map_entry new_map[]; /* Megs required for a full X installation. */ #define XNEEDMB 50