[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Note module-local functions in ext_orport.h



commit 9b21a5d2549bb1ef1ee8f3c8cc92b33ff411ce36
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Wed Feb 19 12:12:00 2020 -0500

    Note module-local functions in ext_orport.h
    
    Since these are only used inside the feature/relay module, they
    don't need stubs.
---
 src/feature/relay/ext_orport.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/feature/relay/ext_orport.h b/src/feature/relay/ext_orport.h
index b09fe3b57..416c35839 100644
--- a/src/feature/relay/ext_orport.h
+++ b/src/feature/relay/ext_orport.h
@@ -40,9 +40,10 @@ void connection_or_remove_from_ext_or_id_map(or_connection_t *conn);
 void connection_or_clear_ext_or_id_map(void);
 int connection_ext_or_finished_flushing(or_connection_t *conn);
 int connection_ext_or_process_inbuf(or_connection_t *or_conn);
+char *get_ext_or_auth_cookie_file_name(void);
 
+/* (No stub needed for these: they are only called within feature/relay.) */
 int init_ext_or_cookie_authentication(int is_enabled);
-char *get_ext_or_auth_cookie_file_name(void);
 void ext_orport_free_all(void);
 
 #else /* !defined(HAVE_MODULE_RELAY) */



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits