Browse Source

Whoops. Protover.[ch] belong in src/core/or

Nick Mathewson 5 years ago
parent
commit
667a6e8fe9

+ 2 - 2
src/core/include.am

@@ -12,7 +12,6 @@ LIBTOR_APP_A_SOURCES = 				\
 	src/app/config/statefile.c		\
 	src/core/proto/proto_socks.c		\
 	src/core/proto/protover_rust.c		\
-	src/core/proto/protover.c		\
 	src/core/proto/proto_ext_or.c		\
 	src/core/proto/proto_cell.c		\
 	src/core/proto/proto_http.c		\
@@ -44,6 +43,7 @@ LIBTOR_APP_A_SOURCES = 				\
 	src/core/or/scheduler_vanilla.c		\
 	src/core/or/connection_edge.c		\
 	src/core/or/dos.c			\
+	src/core/or/protover.c			\
 	src/core/or/address_set.c		\
 	src/core/or/command.c			\
 	src/core/or/channel.c			\
@@ -149,7 +149,6 @@ noinst_HEADERS +=					\
 	src/app/config/or_state_st.h			\
 	src/app/config/confparse.h			\
 	src/app/main/ntmain.h				\
-	src/core/proto/protover.h			\
 	src/core/proto/proto_ext_or.h			\
 	src/core/proto/proto_http.h			\
 	src/core/proto/proto_cell.h			\
@@ -190,6 +189,7 @@ noinst_HEADERS +=					\
 	src/core/or/or_handshake_certs_st.h		\
 	src/core/or/dos.h				\
 	src/core/or/or_connection_st.h			\
+	src/core/or/protover.h				\
 	src/core/or/channel.h				\
 	src/core/or/or_circuit_st.h			\
 	src/core/or/entry_port_cfg_st.h			\

+ 1 - 1
src/core/mainloop/main.c

@@ -92,7 +92,7 @@
 #include "core/crypto/onion.h"
 #include "core/mainloop/periodic.h"
 #include "core/or/policies.h"
-#include "core/proto/protover.h"
+#include "core/or/protover.h"
 #include "feature/client/transports.h"
 #include "core/or/relay.h"
 #include "feature/rend/rendclient.h"

+ 1 - 1
src/core/proto/protover.c → src/core/or/protover.c

@@ -24,7 +24,7 @@
 #define PROTOVER_PRIVATE
 
 #include "core/or/or.h"
-#include "core/proto/protover.h"
+#include "core/or/protover.h"
 #include "feature/nodelist/routerparse.h"
 
 #ifndef HAVE_RUST

+ 0 - 0
src/core/proto/protover.h → src/core/or/protover.h


+ 1 - 1
src/core/proto/protover_rust.c

@@ -8,7 +8,7 @@
  */
 
 #include "core/or/or.h"
-#include "core/proto/protover.h"
+#include "core/or/protover.h"
 
 #ifdef HAVE_RUST
 

+ 1 - 1
src/feature/dirauth/dirvote.c

@@ -14,7 +14,7 @@
 #include "feature/nodelist/nodelist.h"
 #include "feature/nodelist/parsecommon.h"
 #include "core/or/policies.h"
-#include "core/proto/protover.h"
+#include "core/or/protover.h"
 #include "feature/stats/rephist.h"
 #include "feature/relay/router.h"
 #include "feature/relay/routerkeys.h"

+ 1 - 1
src/feature/dircache/dirserv.c

@@ -25,7 +25,7 @@
 #include "feature/nodelist/networkstatus.h"
 #include "feature/nodelist/nodelist.h"
 #include "core/or/policies.h"
-#include "core/proto/protover.h"
+#include "core/or/protover.h"
 #include "feature/stats/rephist.h"
 #include "feature/relay/router.h"
 #include "feature/nodelist/routerlist.h"

+ 1 - 1
src/feature/nodelist/networkstatus.c

@@ -60,7 +60,7 @@
 #include "feature/nodelist/microdesc.h"
 #include "feature/nodelist/networkstatus.h"
 #include "feature/nodelist/nodelist.h"
-#include "core/proto/protover.h"
+#include "core/or/protover.h"
 #include "core/or/relay.h"
 #include "feature/relay/router.h"
 #include "feature/nodelist/routerlist.h"

+ 1 - 1
src/feature/nodelist/nodelist.c

@@ -56,7 +56,7 @@
 #include "feature/nodelist/networkstatus.h"
 #include "feature/nodelist/nodelist.h"
 #include "core/or/policies.h"
-#include "core/proto/protover.h"
+#include "core/or/protover.h"
 #include "feature/rend/rendservice.h"
 #include "feature/relay/router.h"
 #include "feature/nodelist/routerlist.h"

+ 1 - 1
src/feature/nodelist/routerparse.c

@@ -68,7 +68,7 @@
 #include "feature/nodelist/networkstatus.h"
 #include "feature/nodelist/parsecommon.h"
 #include "core/or/policies.h"
-#include "core/proto/protover.h"
+#include "core/or/protover.h"
 #include "feature/rend/rendcommon.h"
 #include "feature/stats/rephist.h"
 #include "feature/relay/router.h"

+ 1 - 1
src/feature/relay/router.c

@@ -25,7 +25,7 @@
 #include "feature/nodelist/networkstatus.h"
 #include "feature/nodelist/nodelist.h"
 #include "core/or/policies.h"
-#include "core/proto/protover.h"
+#include "core/or/protover.h"
 #include "core/or/relay.h"
 #include "feature/stats/rephist.h"
 #include "feature/relay/router.h"

+ 1 - 1
src/test/test_protover.c

@@ -6,7 +6,7 @@
 #include "orconfig.h"
 #include "test/test.h"
 
-#include "core/proto/protover.h"
+#include "core/or/protover.h"
 
 #include "core/or/or.h"
 #include "core/or/connection_or.h"