From 4ada3382b41d881ef737db06d83cd7eecaf13590 Mon Sep 17 00:00:00 2001 From: SarahW Date: Fri, 3 Aug 2018 19:44:35 +0100 Subject: [PATCH] Fix inconsistent size of ide_fn array. --- src/esdi_at.c | 2 +- src/hdd_esdi.c | 2 +- src/mfm_at.c | 2 +- src/mfm_xebec.c | 2 +- src/scsi_hd.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/esdi_at.c b/src/esdi_at.c index c14ab7a..9002502 100644 --- a/src/esdi_at.c +++ b/src/esdi_at.c @@ -50,7 +50,7 @@ #define CMD_SET_PARAMETERS 0x91 #define CMD_READ_PARAMETERS 0xec -extern char ide_fn[4][512]; +extern char ide_fn[7][512]; typedef struct esdi_drive_t { diff --git a/src/hdd_esdi.c b/src/hdd_esdi.c index 9465af1..6eb239a 100644 --- a/src/hdd_esdi.c +++ b/src/hdd_esdi.c @@ -26,7 +26,7 @@ #define CMD_ADAPTER 0 -extern char ide_fn[4][512]; +extern char ide_fn[7][512]; typedef struct esdi_t { diff --git a/src/mfm_at.c b/src/mfm_at.c index e3ad873..83fee43 100644 --- a/src/mfm_at.c +++ b/src/mfm_at.c @@ -46,7 +46,7 @@ #define CMD_DIAGNOSE 0x90 #define CMD_SET_PARAMETERS 0x91 -extern char ide_fn[4][512]; +extern char ide_fn[7][512]; typedef struct mfm_drive_t { diff --git a/src/mfm_xebec.c b/src/mfm_xebec.c index a60651e..51cec9e 100644 --- a/src/mfm_xebec.c +++ b/src/mfm_xebec.c @@ -23,7 +23,7 @@ #define XEBEC_TIME (2000 * TIMER_USEC) -extern char ide_fn[4][512]; +extern char ide_fn[7][512]; enum { diff --git a/src/scsi_hd.c b/src/scsi_hd.c index 074bdba..bf6412e 100644 --- a/src/scsi_hd.c +++ b/src/scsi_hd.c @@ -8,7 +8,7 @@ #include "scsi_hd.h" #include "timer.h" -extern char ide_fn[4][512]; +extern char ide_fn[7][512]; #define BUFFER_SIZE (256*1024)