aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/CMakeLists.txt1
-rw-r--r--src/core/CMakeLists.txt2
-rw-r--r--src/core/tcp.c (renamed from src/supplemental/tcp/tcp.c)0
-rw-r--r--src/supplemental/tcp/CMakeLists.txt10
4 files changed, 2 insertions, 11 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 9a06bb9b..57679309 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -25,7 +25,6 @@ add_subdirectory(transport)
add_subdirectory(supplemental/base64)
add_subdirectory(supplemental/http)
add_subdirectory(supplemental/sha1)
-add_subdirectory(supplemental/tcp)
add_subdirectory(supplemental/tls)
add_subdirectory(supplemental/util)
add_subdirectory(supplemental/websocket)
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index f0af8638..ac3cdaec 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -67,6 +67,8 @@ nng_sources(
strs.h
taskq.c
taskq.h
+ tcp.c
+ tcp.h
thread.c
thread.h
timer.c
diff --git a/src/supplemental/tcp/tcp.c b/src/core/tcp.c
index 2b1bd987..2b1bd987 100644
--- a/src/supplemental/tcp/tcp.c
+++ b/src/core/tcp.c
diff --git a/src/supplemental/tcp/CMakeLists.txt b/src/supplemental/tcp/CMakeLists.txt
deleted file mode 100644
index d6b3b531..00000000
--- a/src/supplemental/tcp/CMakeLists.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-#
-# Copyright 2019 Staysail Systems, Inc. <info@staysail.tech>
-#
-# This software is supplied under the terms of the MIT License, a
-# copy of which should be located in the distribution where this
-# file was obtained (LICENSE.txt). A copy of the license may also be
-# found online at https://opensource.org/licenses/MIT.
-#
-
-nng_sources(tcp.c) \ No newline at end of file