]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
scsi: keep AIC DMA helpers static
authorStefan Reinauer <stefan.reinauer@coreboot.org>
Sun, 31 May 2026 02:55:27 +0000 (19:55 -0700)
committerStefan Reinauer <stefan.reinauer@coreboot.org>
Sun, 31 May 2026 07:33:15 +0000 (00:33 -0700)
The AIC DMA helpers are only used in scsi.cpp. Keep the forward
declarations static so they match the definitions and avoid exporting
private symbols.

scsi.cpp

index b1b63505c3316e20602141c4f9912c33ca454f3a..25d8d173fbe92b99e79f9adcd8b9380c1664cdbf 100644 (file)
--- a/scsi.cpp
+++ b/scsi.cpp
@@ -1466,8 +1466,8 @@ static void supra_do_dma(struct soft_scsi *ncr)
        }
 }
 
-uae_u8 aic_bget_dma(struct soft_scsi *scsi, bool *phaseerr);
-void aic_bput_dma(struct soft_scsi *scsi, uae_u8 v, bool *phaseerr);
+static uae_u8 aic_bget_dma(struct soft_scsi *scsi, bool *phaseerr);
+static void aic_bput_dma(struct soft_scsi *scsi, uae_u8 v, bool *phaseerr);
 
 static void hardframe_do_dma(struct soft_scsi *ncr)
 {