diff options
| author | Garrett D'Amore <garrett@damore.org> | 2021-07-07 22:30:06 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2021-07-09 20:22:46 -0700 |
| commit | 2574efba78d3046f6c35bbb1d55c522fb2125c94 (patch) | |
| tree | a735f52926b0b2f63a3adab7505911ba0fcd45d8 | |
| parent | e5b5c93878f799bb837f977d1bd119ec27bb8e9e (diff) | |
| download | nng-2574efba78d3046f6c35bbb1d55c522fb2125c94.tar.gz nng-2574efba78d3046f6c35bbb1d55c522fb2125c94.tar.bz2 nng-2574efba78d3046f6c35bbb1d55c522fb2125c94.zip | |
Move transport.[ch] to SP
| -rw-r--r-- | src/core/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | src/core/nng_impl.h | 2 | ||||
| -rw-r--r-- | src/core/pipe.h | 2 | ||||
| -rw-r--r-- | src/sp/CMakeLists.txt | 5 | ||||
| -rw-r--r-- | src/sp/transport.c (renamed from src/core/transport.c) | 0 | ||||
| -rw-r--r-- | src/sp/transport.h (renamed from src/core/transport.h) | 0 |
6 files changed, 7 insertions, 4 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 459e5f23..040df7f4 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -73,8 +73,6 @@ nng_sources( thread.h timer.c timer.h - transport.c - transport.h url.c url.h ) diff --git a/src/core/nng_impl.h b/src/core/nng_impl.h index cfcd0e08..a9e5560d 100644 --- a/src/core/nng_impl.h +++ b/src/core/nng_impl.h @@ -50,7 +50,7 @@ #include "core/url.h" // transport needs to come after url -#include "core/transport.h" +#include "sp/transport.h" // These have to come after the others - particularly transport.h diff --git a/src/core/pipe.h b/src/core/pipe.h index 79c48500..fe908936 100644 --- a/src/core/pipe.h +++ b/src/core/pipe.h @@ -17,7 +17,7 @@ #include "core/defs.h" #include "core/thread.h" -#include "core/transport.h" +#include "sp/transport.h" extern int nni_pipe_sys_init(void); extern void nni_pipe_sys_fini(void); diff --git a/src/sp/CMakeLists.txt b/src/sp/CMakeLists.txt index b84952ee..aa790c09 100644 --- a/src/sp/CMakeLists.txt +++ b/src/sp/CMakeLists.txt @@ -11,3 +11,8 @@ nng_directory(sp) add_subdirectory(protocol) add_subdirectory(transport) + +nng_sources( + transport.c + transport.h +) diff --git a/src/core/transport.c b/src/sp/transport.c index 78859078..78859078 100644 --- a/src/core/transport.c +++ b/src/sp/transport.c diff --git a/src/core/transport.h b/src/sp/transport.h index b2da2c7a..b2da2c7a 100644 --- a/src/core/transport.h +++ b/src/sp/transport.h |
