From 4f3fd9ad3f23f6843b134718452050d30f5cf307 Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Mon, 29 Apr 1996 06:45:33 +0000 Subject: Fix mis-declared static arrays that made sysinstall SEGV in Set_Boot_Blocks(). Boy, this one had me tearing my hair out! I hate how the loader distinguishes between `extern char *foo' and `extern char foo[]' sometimes! :-) --- lib/libdisk/libdisk.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libdisk') diff --git a/lib/libdisk/libdisk.h b/lib/libdisk/libdisk.h index 1473e72d7d32..fd8607cd2671 100644 --- a/lib/libdisk/libdisk.h +++ b/lib/libdisk/libdisk.h @@ -6,7 +6,7 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * -* $Id: libdisk.h,v 1.20 1995/12/07 10:33:21 peter Exp $ +* $Id: libdisk.h,v 1.21 1996/03/24 18:55:39 joerg Exp $ * */ @@ -89,7 +89,7 @@ struct chunk { }; extern const char *chunk_n[]; -extern const u_char *boot1, *boot2; +extern const u_char boot1[], boot2[]; struct disk * Open_Disk(const char *devname); -- cgit v1.2.3