From e77b9a88ab7123254712b6c56952deab2bc67541 Mon Sep 17 00:00:00 2001 From: Jess Lovelace Date: Wed, 2 Feb 2022 18:00:06 -0500 Subject: [PATCH] typo fixed --- src/disk/hdc.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/disk/hdc.c b/src/disk/hdc.c index 2a69e4b23..a96e7893a 100644 --- a/src/disk/hdc.c +++ b/src/disk/hdc.c @@ -66,13 +66,6 @@ null_close(void *priv) } -static const device_t hdc_none_device = { - "None", "hdc_none", 0, 0, - null_init, null_close, NULL, - { NULL }, NULL, NULL, NULL -}; - - static void * inthdc_init(const device_t *info) { @@ -86,6 +79,11 @@ inthdc_close(void *priv) } +static const device_t hdc_none_device = { + "None", "hdc_none", 0, 0, + null_init, null_close, NULL, + { NULL }, NULL, NULL, NULL +}; static const device_t hdc_internal_device = { "Internal", "hdc_internal", 0, 0, inthdc_init, inthdc_close, NULL, @@ -96,7 +94,7 @@ static const device_t hdc_internal_device = { static const struct { const device_t *device; } controllers[] = { - { &hdc_null_device }, + { &hdc_none_device }, { &hdc_internal_device }, { &st506_xt_xebec_device }, { &st506_xt_dtc5150x_device },