Skip to content

Commit

Permalink
Move log.h to legacy folder
Browse files Browse the repository at this point in the history
  • Loading branch information
uweseimet committed Sep 24, 2023
1 parent 5c558bd commit a419e5d
Show file tree
Hide file tree
Showing 14 changed files with 13 additions and 15 deletions.
2 changes: 1 addition & 1 deletion cpp/hal/gpiobus_bananam2p.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
#include "hal/pi_defs/bpi-gpio.h"
#include "hal/sunxi_utils.h"
#include "hal/systimer.h"
#include "shared/log.h"
#include "hal/log.h"

#define ARRAY_SIZE(x) (sizeof(x) / (sizeof(x[0])))

Expand Down
1 change: 0 additions & 1 deletion cpp/hal/gpiobus_bananam2p.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#include "hal/pi_defs/bpi-gpio.h"
#include "hal/sbc_version.h"
#include "hal/sunxi_utils.h"
#include "shared/log.h"
#include "shared/scsi.h"
#include <map>

Expand Down
2 changes: 1 addition & 1 deletion cpp/hal/gpiobus_virtual.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "hal/gpiobus_virtual.h"
#include "hal/gpiobus.h"
#include "hal/systimer.h"
#include "shared/log.h"
#include "hal/log.h"
#include <cstddef>
#include <map>
#include <memory>
Expand Down
3 changes: 1 addition & 2 deletions cpp/hal/gpiobus_virtual.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

#include "hal/data_sample_raspberry.h"
#include "hal/gpiobus.h"
#include "shared/log.h"
#include "shared/scsi.h"

#include <map>
Expand Down Expand Up @@ -171,4 +170,4 @@ class GPIOBUS_Virtual final : public GPIOBUS
sem_t *mutex_sem, *buffer_count_sem, *spool_signal_sem;
int fd_shm, fd_log;
#endif
};
};
File renamed without changes.
2 changes: 1 addition & 1 deletion cpp/hal/sbc_version.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//---------------------------------------------------------------------------

#include "sbc_version.h"
#include "shared/log.h"
#include "log.h"
#include <fstream>
#include <iostream>
#include <sstream>
Expand Down
2 changes: 1 addition & 1 deletion cpp/hal/systimer_allwinner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

#include "hal/gpiobus.h"

#include "shared/log.h"
#include "hal/log.h"

const std::string SysTimer_AllWinner::dev_mem_filename = "/dev/mem";

Expand Down
2 changes: 1 addition & 1 deletion cpp/monitor/sm_core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "hal/gpiobus.h"
#include "hal/gpiobus_factory.h"
#include "monitor/sm_reports.h"
#include "shared/log.h"
#include "hal/log.h"
#include "shared/piscsi_version.h"
#include "shared/piscsi_util.h"
#include <climits>
Expand Down
2 changes: 1 addition & 1 deletion cpp/monitor/sm_html_report.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
//
//---------------------------------------------------------------------------

#include "shared/log.h"
#include "hal/log.h"
#include "shared/piscsi_version.h"
#include "sm_reports.h"
#include <iostream>
Expand Down
2 changes: 1 addition & 1 deletion cpp/monitor/sm_json_report.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//---------------------------------------------------------------------------

#include "hal/data_sample_raspberry.h"
#include "shared/log.h"
#include "hal/log.h"
#include "sm_reports.h"
#include "string.h"
#include <fstream>
Expand Down
2 changes: 1 addition & 1 deletion cpp/monitor/sm_vcd_report.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

#include "hal/data_sample.h"
#include "hal/gpiobus.h"
#include "shared/log.h"
#include "hal/log.h"
#include "sm_core.h"
#include "sm_reports.h"
#include <fstream>
Expand Down
2 changes: 1 addition & 1 deletion cpp/scsiloop/scsiloop_core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//
//---------------------------------------------------------------------------

#include "shared/log.h"
#include "hal/log.h"
#include "shared/piscsi_version.h"
#include "shared/piscsi_util.h"
#include "spdlog/sinks/stdout_color_sinks.h"
Expand Down
4 changes: 2 additions & 2 deletions cpp/scsiloop/scsiloop_gpio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "hal/gpiobus_factory.h"
#include "hal/sbc_version.h"
#include "scsiloop/scsiloop_cout.h"
#include "shared/log.h"
#include "hal/log.h"

#if defined CONNECT_TYPE_STANDARD
#include "hal/connection_type/connection_standard.h"
Expand Down Expand Up @@ -589,4 +589,4 @@ int ScsiLoop_GPIO::RunDataOutputTest(vector<string> &error_list)
ScsiLoop_Cout::FinishTest("DAT Outputs", err_count);

return err_count;
}
}
2 changes: 1 addition & 1 deletion cpp/scsiloop/scsiloop_timer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include "scsiloop_timer.h"
#include "hal/systimer.h"
#include "scsiloop/scsiloop_cout.h"
#include "shared/log.h"
#include "hal/log.h"

int ScsiLoop_Timer::RunTimerTest(vector<string> &error_list)
{
Expand Down

0 comments on commit a419e5d

Please sign in to comment.