[tor-commits] [tor/master] move protover_rust.c to core/or/

nickm at torproject.org nickm at torproject.org
Fri Sep 21 20:29:17 UTC 2018


commit 5c0dd1aa908f891c8ad453bdcd70a4f6c51ae4b3
Author: cypherpunks <cypherpunks at torproject.org>
Date:   Fri Sep 21 20:14:53 2018 +0000

    move protover_rust.c to core/or/
    
    Missed in 667a6e8fe9b8169e86f3ab889c4ea8af845d6939.
---
 changes/ticket27814                    | 3 +++
 src/core/include.am                    | 2 +-
 src/core/{proto => or}/protover_rust.c | 0
 3 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/changes/ticket27814 b/changes/ticket27814
new file mode 100644
index 000000000..739754c61
--- /dev/null
+++ b/changes/ticket27814
@@ -0,0 +1,3 @@
+  o Code simplification and refactoring:
+    - Move protover_rust.c to the same place protover.c was moved to.
+      Closes ticket 27814.
diff --git a/src/core/include.am b/src/core/include.am
index d042f697b..2fddffd47 100644
--- a/src/core/include.am
+++ b/src/core/include.am
@@ -38,6 +38,7 @@ LIBTOR_APP_A_SOURCES = 				\
 	src/core/or/onion.c			\
 	src/core/or/policies.c			\
 	src/core/or/protover.c			\
+	src/core/or/protover_rust.c		\
 	src/core/or/reasons.c			\
 	src/core/or/relay.c			\
 	src/core/or/scheduler.c			\
@@ -49,7 +50,6 @@ LIBTOR_APP_A_SOURCES = 				\
 	src/core/proto/proto_ext_or.c		\
 	src/core/proto/proto_http.c		\
 	src/core/proto/proto_socks.c		\
-	src/core/proto/protover_rust.c		\
 	src/feature/api/tor_api.c		\
 	src/feature/client/addressmap.c		\
 	src/feature/client/bridges.c		\
diff --git a/src/core/proto/protover_rust.c b/src/core/or/protover_rust.c
similarity index 100%
rename from src/core/proto/protover_rust.c
rename to src/core/or/protover_rust.c





More information about the tor-commits mailing list