浏览代码

cleanup some headers and warnings

Eric Helgeson 2 年之前
父节点
当前提交
a8d7d58cea
共有 3 个文件被更改,包括 26 次插入4 次删除
  1. 25 0
      lib/SCSI2SD/src/firmware/bluescsi_toolbox.h
  2. 1 0
      lib/SCSI2SD/src/firmware/scsi.c
  3. 0 4
      src/BlueSCSI_Toolbox.h

+ 25 - 0
lib/SCSI2SD/src/firmware/bluescsi_toolbox.h

@@ -0,0 +1,25 @@
+/** 
+ * Copyright (C) 2023 Eric Helgeson
+ * 
+ * This file is part of BlueSCSI
+ * 
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version. 
+ * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details. 
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <https://www.gnu.org/licenses/>.
+**/
+
+#ifndef S2S_BLUESCSI_TOOLBOX_H
+#define S2S_BLUESCSI_TOOLBOX_H
+
+int scsiBlueSCSIToolboxCommand(void);
+
+#endif

+ 1 - 0
lib/SCSI2SD/src/firmware/scsi.c

@@ -30,6 +30,7 @@
 #include "tape.h"
 #include "mo.h"
 #include "vendor.h"
+#include "bluescsi_toolbox.h"
 
 #include <string.h>
 

+ 0 - 4
src/BlueSCSI_Toolbox.h

@@ -19,10 +19,6 @@
 
 #pragma once
 
-#include <stdint.h>
-#include <scsi2sd.h>
-#include <scsiPhy.h>
-#include "ImageBackingStore.h"
 #define MAX_MAC_PATH 32
 #define CD_IMG_DIR "/CDImages"