From 02d8cd259105570fb5308837eeb16945a98646c3 Mon Sep 17 00:00:00 2001 From: Marcio T Date: Wed, 24 Nov 2021 09:24:02 -0700 Subject: [PATCH] Whitespace fixes --- mac-cpp-source/Iomega Zip Tester.cpp | 2 -- mac-cpp-source/macos/mac_vol.cpp | 2 +- mac-cpp-source/macos/mac_vol.h | 2 +- mac-cpp-source/scsi/iomega_cmds.cpp | 2 +- mac-cpp-source/scsi/iomega_cmds.h | 2 +- mac-cpp-source/scsi/mac_scsi.h | 2 -- mac-cpp-source/tip/tip.cpp | 2 +- mac-cpp-source/tip/tip.h | 2 +- mac-cpp-source/tip/tip_main.cpp | 2 +- 9 files changed, 7 insertions(+), 11 deletions(-) diff --git a/mac-cpp-source/Iomega Zip Tester.cpp b/mac-cpp-source/Iomega Zip Tester.cpp index 0739b94..1ac4a9b 100644 --- a/mac-cpp-source/Iomega Zip Tester.cpp +++ b/mac-cpp-source/Iomega Zip Tester.cpp @@ -172,5 +172,3 @@ void printn( unsigned char *c, int n ) { c++; } } - - diff --git a/mac-cpp-source/macos/mac_vol.cpp b/mac-cpp-source/macos/mac_vol.cpp index cb137bd..223d46f 100644 --- a/mac-cpp-source/macos/mac_vol.cpp +++ b/mac-cpp-source/macos/mac_vol.cpp @@ -35,4 +35,4 @@ void mac_unmount(int id) { case fBsyErr: printf("One or more files are open\n"); break; default: printf("Failed %d\n", err); } -} \ No newline at end of file +} diff --git a/mac-cpp-source/macos/mac_vol.h b/mac-cpp-source/macos/mac_vol.h index a861572..1fe3684 100644 --- a/mac-cpp-source/macos/mac_vol.h +++ b/mac-cpp-source/macos/mac_vol.h @@ -1,2 +1,2 @@ void mac_list_volumes(); -void mac_unmount(int id); \ No newline at end of file +void mac_unmount(int id); diff --git a/mac-cpp-source/scsi/iomega_cmds.cpp b/mac-cpp-source/scsi/iomega_cmds.cpp index 3c85755..53978bd 100644 --- a/mac-cpp-source/scsi/iomega_cmds.cpp +++ b/mac-cpp-source/scsi/iomega_cmds.cpp @@ -47,4 +47,4 @@ OSErr iomega_eject_cartridge( int id ) { err = iomega_set_prevent_removal(id, false); if (err != noErr) return err; return iomega_spin_down_and_eject(id); -} \ No newline at end of file +} diff --git a/mac-cpp-source/scsi/iomega_cmds.h b/mac-cpp-source/scsi/iomega_cmds.h index 8083bb9..f45b34f 100644 --- a/mac-cpp-source/scsi/iomega_cmds.h +++ b/mac-cpp-source/scsi/iomega_cmds.h @@ -5,4 +5,4 @@ typedef Boolean bool; OSErr iomega_spin_up_cartridge(int id); OSErr iomega_spin_down_and_eject(int id); OSErr iomega_set_prevent_removal(int id, bool lock); -OSErr iomega_eject_cartridge(int id); \ No newline at end of file +OSErr iomega_eject_cartridge(int id); diff --git a/mac-cpp-source/scsi/mac_scsi.h b/mac-cpp-source/scsi/mac_scsi.h index 2cf17d1..0b13813 100644 --- a/mac-cpp-source/scsi/mac_scsi.h +++ b/mac-cpp-source/scsi/mac_scsi.h @@ -83,5 +83,3 @@ OSErr scsi_cmd(int id, void *cmd, size_t clen, void *buff, size_t siz, size_t cn OSErr scsi_inquiry(int id, int lun, scsi_inq_reply *buff); OSErr scsi_request_sense_data(int id, scsi_sense_reply *buff); OSErr scsi_get_class(int id, int lun, int &dev ); - - diff --git a/mac-cpp-source/tip/tip.cpp b/mac-cpp-source/tip/tip.cpp index 58311a1..61ec7be 100644 --- a/mac-cpp-source/tip/tip.cpp +++ b/mac-cpp-source/tip/tip.cpp @@ -385,4 +385,4 @@ void UpdateRunPhaseDisplay() { void ErrorSound() { SysBeep(10); -} \ No newline at end of file +} diff --git a/mac-cpp-source/tip/tip.h b/mac-cpp-source/tip/tip.h index ccc8516..56049f1 100644 --- a/mac-cpp-source/tip/tip.h +++ b/mac-cpp-source/tip/tip.h @@ -210,4 +210,4 @@ long PerformRegionTransfer(short XferCmd, void *pBuffer); long TestTheDisk(); long GetElapsedTimeInSeconds(); void PrepareToBeginTesting(); -void BumpErrorCounts(long ErrorCode); \ No newline at end of file +void BumpErrorCounts(long ErrorCode); diff --git a/mac-cpp-source/tip/tip_main.cpp b/mac-cpp-source/tip/tip_main.cpp index ce5ddb3..6177275 100644 --- a/mac-cpp-source/tip/tip_main.cpp +++ b/mac-cpp-source/tip/tip_main.cpp @@ -374,4 +374,4 @@ void ProcessPendingMessages() { if (GetNextEvent(everyEvent, &event)) { DoEvent(event,NULL); } -} \ No newline at end of file +}