aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-09-24 06:42:02 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-09-24 06:42:02 +0200
commit04415b025e6bd25bc2eb5cb5f33003efa7f29106 (patch)
treec6ed3265bf3413c7753b89bf27197cb274d7b835
parent11a12ad316b3314aceb8a08b1332c4571111459c (diff)
net: Relocate source files for consistency
-rw-r--r--src/net/CMakeLists.txt6
-rw-r--r--src/net/posix/src/serial.c (renamed from src/net/src/posix/serial.c)0
-rw-r--r--src/net/ps1/src/net.c (renamed from src/net/src/ps1/net.c)0
-rw-r--r--src/net/win9x/src/serial.c (renamed from src/net/src/win9x/serial.c)0
4 files changed, 3 insertions, 3 deletions
diff --git a/src/net/CMakeLists.txt b/src/net/CMakeLists.txt
index 38cd8df..79bd653 100644
--- a/src/net/CMakeLists.txt
+++ b/src/net/CMakeLists.txt
@@ -2,7 +2,7 @@ set(src "src/common.c")
if(PS1_BUILD)
set(src ${src}
- "src/ps1/net.c"
+ "ps1/src/net.c"
)
else()
set(src ${src}
@@ -11,7 +11,7 @@ else()
)
if(WIN9X_BUILD OR ${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Windows")
- set(src ${src} "src/win9x/serial.c")
+ set(src ${src} "win9x/src/serial.c")
else()
# Assume POSIX if the command below executes successfully
execute_process(COMMAND uname -m RESULT_VARIABLE result OUTPUT_QUIET)
@@ -19,7 +19,7 @@ else()
if(result)
message(FATAL_ERROR "Unknown operating system")
else()
- set(src ${src} "src/posix/serial.c")
+ set(src ${src} "posix/src/serial.c")
endif()
endif()
diff --git a/src/net/src/posix/serial.c b/src/net/posix/src/serial.c
index b0357b9..b0357b9 100644
--- a/src/net/src/posix/serial.c
+++ b/src/net/posix/src/serial.c
diff --git a/src/net/src/ps1/net.c b/src/net/ps1/src/net.c
index 8c037f3..8c037f3 100644
--- a/src/net/src/ps1/net.c
+++ b/src/net/ps1/src/net.c
diff --git a/src/net/src/win9x/serial.c b/src/net/win9x/src/serial.c
index c12369a..c12369a 100644
--- a/src/net/src/win9x/serial.c
+++ b/src/net/win9x/src/serial.c