Skip to content

Commit

Permalink
Move transport.[ch] to SP
Browse files Browse the repository at this point in the history
  • Loading branch information
gdamore committed Jul 10, 2021
1 parent e5b5c93 commit 2574efb
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ nng_sources(
thread.h
timer.c
timer.h
transport.c
transport.h
url.c
url.h
)
Expand Down
2 changes: 1 addition & 1 deletion src/core/nng_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/core/pipe.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
5 changes: 5 additions & 0 deletions src/sp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,8 @@ nng_directory(sp)

add_subdirectory(protocol)
add_subdirectory(transport)

nng_sources(
transport.c
transport.h
)
File renamed without changes.
File renamed without changes.

0 comments on commit 2574efb

Please sign in to comment.