Skip to content

Commit

Permalink
Header file cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
uweseimet committed Aug 27, 2023
1 parent 1f7f4b8 commit 1c90483
Show file tree
Hide file tree
Showing 10 changed files with 2 additions and 17 deletions.
1 change: 0 additions & 1 deletion cpp/devices/scsi_host_bridge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#include "scsi_command_util.h"
#include "scsi_host_bridge.h"
#include <arpa/inet.h>
#include <array>

using namespace std;
using namespace scsi_defs;
Expand Down
1 change: 0 additions & 1 deletion cpp/devices/storage_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include "shared/piscsi_exceptions.h"
#include "storage_device.h"
#include <unistd.h>
#include <filesystem>

using namespace std;
using namespace filesystem;
Expand Down
1 change: 0 additions & 1 deletion cpp/monitor/sm_core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
//---------------------------------------------------------------------------

#include "monitor/sm_core.h"
#include "hal/data_sample.h"
#include "hal/gpiobus.h"
#include "hal/gpiobus_factory.h"
#include "monitor/sm_reports.h"
Expand Down
3 changes: 1 addition & 2 deletions cpp/piscsi/command_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@
// SCSI Target Emulator PiSCSI
// for Raspberry Pi
//
// Copyright (C) 2021-2022 Uwe Seimet
// Copyright (C) 2021-2023 Uwe Seimet
//
//---------------------------------------------------------------------------

#include "shared/log.h"
#include "generated/piscsi_interface.pb.h"
#include "command_context.h"
#include <iostream>

Expand Down
1 change: 0 additions & 1 deletion cpp/piscsi/localizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

#include "localizer.h"
#include <cassert>
#include <string>
#include <algorithm>
#include <regex>

Expand Down
2 changes: 0 additions & 2 deletions cpp/piscsi/piscsi_core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,10 @@
#include "spdlog/sinks/stdout_color_sinks.h"
#include <netinet/in.h>
#include <csignal>
#include <string>
#include <sstream>
#include <iostream>
#include <fstream>
#include <list>
#include <filesystem>

using namespace std;
using namespace filesystem;
Expand Down
3 changes: 0 additions & 3 deletions cpp/piscsi/piscsi_image.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,11 @@
#include "shared/log.h"
#include "shared/protobuf_util.h"
#include "devices/disk.h"
#include "command_context.h"
#include "piscsi_image.h"
#include <unistd.h>
#include <pwd.h>
#include <fstream>
#include <string>
#include <array>
#include <filesystem>

using namespace std;
using namespace filesystem;
Expand Down
2 changes: 0 additions & 2 deletions cpp/piscsi/piscsi_response.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
#include "shared/protobuf_util.h"
#include "shared/piscsi_version.h"
#include "devices/disk.h"
#include "devices/device_factory.h"
#include "generated/piscsi_interface.pb.h"
#include "piscsi_response.h"
#include <filesystem>

Expand Down
1 change: 0 additions & 1 deletion cpp/scsictl/scsictl_core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#include "shared/protobuf_util.h"
#include "shared/piscsi_exceptions.h"
#include "shared/piscsi_version.h"
#include "generated/piscsi_interface.pb.h"
#include "scsictl/scsictl_parser.h"
#include "scsictl/scsictl_commands.h"
#include "scsictl/scsictl_core.h"
Expand Down
4 changes: 1 addition & 3 deletions cpp/scsictl/scsictl_display.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@
// SCSI Target Emulator PiSCSI
// for Raspberry Pi
//
// Copyright (C) 2021-2022 Uwe Seimet
// Copyright (C) 2021-2023 Uwe Seimet
//
//---------------------------------------------------------------------------

#include "shared/protobuf_util.h"
#include "generated/piscsi_interface.pb.h"
#include "scsictl_display.h"
#include <sstream>
#include <list>
#include <iomanip>

Expand Down

0 comments on commit 1c90483

Please sign in to comment.