diff options
Diffstat (limited to 'src')
46 files changed, 0 insertions, 323 deletions
diff --git a/src/common/aes.c b/src/common/aes.c index 4d0111e6c7..f6f4a12336 100644 --- a/src/common/aes.c +++ b/src/common/aes.c @@ -810,10 +810,3 @@ void rijndaelEncrypt(const u32 rk[/*4*(Nr + 1)*/], int Nr, const u8 pt[16], u8 c PUTU32(ct + 12, s3); } -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/common/aes.h b/src/common/aes.h index 085ea55932..790fb44382 100644 --- a/src/common/aes.h +++ b/src/common/aes.h @@ -27,10 +27,3 @@ void aes_adjust_counter(aes_cnt_cipher_t *cipher, long delta); #endif -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/common/compat.c b/src/common/compat.c index 4a02dd1c7a..5b70ad7dbf 100644 --- a/src/common/compat.c +++ b/src/common/compat.c @@ -672,10 +672,3 @@ const char *tor_socket_strerror(int e) return strerror(e); } #endif -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/common/compat.h b/src/common/compat.h index f62e833544..6745cb8c49 100644 --- a/src/common/compat.h +++ b/src/common/compat.h @@ -183,10 +183,3 @@ void tor_mutex_free(tor_mutex_t *m); #endif -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/common/container.c b/src/common/container.c index f41dfd76aa..e26ec81c3f 100644 --- a/src/common/container.c +++ b/src/common/container.c @@ -617,10 +617,3 @@ int strmap_isempty(strmap_t *map) return SPLAY_EMPTY(&map->head); } -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/common/container.h b/src/common/container.h index fbfe93d561..701af32953 100644 --- a/src/common/container.h +++ b/src/common/container.h @@ -90,11 +90,3 @@ void strmap_iter_get(strmap_iter_t *iter, const char **keyp, void **valp); int strmap_iter_done(strmap_iter_t *iter); #endif -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ - diff --git a/src/common/crypto.c b/src/common/crypto.c index e779ceeade..d7371fb765 100644 --- a/src/common/crypto.c +++ b/src/common/crypto.c @@ -1614,10 +1614,3 @@ secret_to_key(char *key_out, size_t key_out_len, const char *secret, crypto_free_digest_env(d); } -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/common/crypto.h b/src/common/crypto.h index 7042da3841..5fc8625210 100644 --- a/src/common/crypto.h +++ b/src/common/crypto.h @@ -159,10 +159,3 @@ void secret_to_key(char *key_out, size_t key_out_len, const char *secret, #endif -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/common/fakepoll.c b/src/common/fakepoll.c index 0f39d81eeb..fb375f1e91 100644 --- a/src/common/fakepoll.c +++ b/src/common/fakepoll.c @@ -109,10 +109,3 @@ tor_poll(struct pollfd *ufds, unsigned int nfds, int timeout) } #endif -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/common/fakepoll.h b/src/common/fakepoll.h index bf11237dd1..c8632bb7be 100644 --- a/src/common/fakepoll.h +++ b/src/common/fakepoll.h @@ -47,10 +47,3 @@ int tor_poll(struct pollfd *ufds, unsigned int nfds, int timeout); #endif -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/common/log.c b/src/common/log.c index c91b132759..c2639560fb 100644 --- a/src/common/log.c +++ b/src/common/log.c @@ -452,10 +452,3 @@ void switch_logs_debug(void) } } -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/common/log.h b/src/common/log.h index 73726586c2..968686ef37 100644 --- a/src/common/log.h +++ b/src/common/log.h @@ -99,10 +99,3 @@ void _log_fn(int severity, const char *format, ...); # define __LOG_H #endif -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/common/test.h b/src/common/test.h index 656d9ba517..684968eaac 100644 --- a/src/common/test.h +++ b/src/common/test.h @@ -134,10 +134,3 @@ extern int have_failed; #endif -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/common/torgzip.c b/src/common/torgzip.c index 0491d87d14..bffd819840 100644 --- a/src/common/torgzip.c +++ b/src/common/torgzip.c @@ -223,10 +223,3 @@ tor_gzip_uncompress(char **out, size_t *out_len, return -1; } -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/common/torint.h b/src/common/torint.h index 359f510d5a..eef6bee2ef 100644 --- a/src/common/torint.h +++ b/src/common/torint.h @@ -233,10 +233,3 @@ typedef uint32_t uintptr_t; #endif /* __TORINT_H */ -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/common/tortls.c b/src/common/tortls.c index d930f46422..34c2712192 100644 --- a/src/common/tortls.c +++ b/src/common/tortls.c @@ -810,10 +810,3 @@ void _assert_no_tls_errors(const char *fname, int line) tor_assert(0); } -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/common/tortls.h b/src/common/tortls.h index ff2d69e1de..d8fcb9e090 100644 --- a/src/common/tortls.h +++ b/src/common/tortls.h @@ -47,10 +47,3 @@ void _assert_no_tls_errors(const char *fname, int line); #endif -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/common/util.c b/src/common/util.c index f2386cde4b..a6a082a962 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -1362,10 +1362,3 @@ void write_pidfile(char *filename) { #endif } -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/common/util.h b/src/common/util.h index ea635579ad..4a627e5495 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -115,10 +115,3 @@ void finish_daemon(void); void write_pidfile(char *filename); #endif -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/or/buffers.c b/src/or/buffers.c index cf71c1045a..47b82fed40 100644 --- a/src/or/buffers.c +++ b/src/or/buffers.c @@ -690,10 +690,3 @@ void assert_buf_ok(buf_t *buf) tor_assert(buf->datalen <= buf->len); } -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c index 1108b688a8..44e2f1286b 100644 --- a/src/or/circuitbuild.c +++ b/src/or/circuitbuild.c @@ -1240,10 +1240,3 @@ onion_extend_cpath(crypt_path_t **head_ptr, cpath_build_state_t return 0; } -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c index e93c390afd..8e4438a17d 100644 --- a/src/or/circuitlist.c +++ b/src/or/circuitlist.c @@ -503,10 +503,3 @@ void assert_circuit_ok(const circuit_t *c) } } -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/or/circuituse.c b/src/or/circuituse.c index 9e97629573..e2ec8ea2eb 100644 --- a/src/or/circuituse.c +++ b/src/or/circuituse.c @@ -866,10 +866,3 @@ int connection_ap_handshake_attach_circuit(connection_t *conn) { } } -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/or/command.c b/src/or/command.c index 01568d279b..dc9b372ad5 100644 --- a/src/or/command.c +++ b/src/or/command.c @@ -299,10 +299,3 @@ static void command_process_destroy_cell(cell_t *cell, connection_t *conn) { } } -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/or/config.c b/src/or/config.c index cfc7952702..deaef3299d 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -2334,10 +2334,3 @@ config_parse_interval(const char *s, int *ok) { return (int)r; } -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/or/connection.c b/src/or/connection.c index 3cf29bc905..a261210449 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -1518,10 +1518,3 @@ void assert_connection_ok(connection_t *conn, time_t now) } } -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index 20a30c469b..a24acb1773 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -1211,10 +1211,3 @@ set_exit_redirects(smartlist_t *lst) redirect_exit_list = lst; } -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/or/connection_or.c b/src/or/connection_or.c index 45070f87f5..271f32323f 100644 --- a/src/or/connection_or.c +++ b/src/or/connection_or.c @@ -499,10 +499,3 @@ loop: goto loop; /* process the remainder of the buffer */ } -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/or/control.c b/src/or/control.c index 33144a78cf..c2559cb64b 100644 --- a/src/or/control.c +++ b/src/or/control.c @@ -604,10 +604,3 @@ init_cookie_authentication(int enabled) return 0; } -/* - Local Variabls: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/or/cpuworker.c b/src/or/cpuworker.c index b72343a811..762c2f86ab 100644 --- a/src/or/cpuworker.c +++ b/src/or/cpuworker.c @@ -379,10 +379,3 @@ int assign_to_cpuworker(connection_t *cpuworker, unsigned char question_type, return 0; } -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/or/directory.c b/src/or/directory.c index 175db8242e..4f78aa006a 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -993,10 +993,3 @@ int connection_dir_finished_connecting(connection_t *conn) return 0; } -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/or/dirserv.c b/src/or/dirserv.c index d7ba375157..86ecc24ddd 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -935,10 +935,3 @@ size_t dirserv_get_runningrouters(const char **rr, int compress) return compress ? the_runningrouters_z_len : the_runningrouters_len; } -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/or/dns.c b/src/or/dns.c index 7593d2cf00..2d2914ff8f 100644 --- a/src/or/dns.c +++ b/src/or/dns.c @@ -792,10 +792,3 @@ static void spawn_enough_dnsworkers(void) { } } -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/or/main.c b/src/or/main.c index 7a355475df..6137866fad 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -1373,10 +1373,3 @@ int tor_main(int argc, char *argv[]) { #endif } -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/or/onion.c b/src/or/onion.c index a4b42b2170..b940bd5390 100644 --- a/src/or/onion.c +++ b/src/or/onion.c @@ -315,10 +315,3 @@ onion_skin_client_handshake(crypto_dh_env_t *handshake_state, return 0; } -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/or/or.h b/src/or/or.h index 7039885c7e..fb24f44aa3 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -1643,10 +1643,3 @@ int tor_version_compare(tor_version_t *a, tor_version_t *b); #endif -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/or/rendclient.c b/src/or/rendclient.c index 8c7519853b..976ed97706 100644 --- a/src/or/rendclient.c +++ b/src/or/rendclient.c @@ -466,10 +466,3 @@ failed: return -1; } -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/or/rendcommon.c b/src/or/rendcommon.c index 559f210985..a899d144f0 100644 --- a/src/or/rendcommon.c +++ b/src/or/rendcommon.c @@ -339,10 +339,3 @@ void rend_process_relay_cell(circuit_t *circ, int command, size_t length, } } -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/or/rendmid.c b/src/or/rendmid.c index 02394d8d3d..f37e19e53d 100644 --- a/src/or/rendmid.c +++ b/src/or/rendmid.c @@ -287,10 +287,3 @@ rend_mid_rendezvous(circuit_t *circ, const char *request, size_t request_len) return -1; } -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/or/rendservice.c b/src/or/rendservice.c index d8e86e68f2..86e2ac7221 100644 --- a/src/or/rendservice.c +++ b/src/or/rendservice.c @@ -992,10 +992,3 @@ rend_service_set_connection_addr_port(connection_t *conn, circuit_t *circ) return -1; } -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/or/rephist.c b/src/or/rephist.c index 72a9f4a812..d629e58dfa 100644 --- a/src/or/rephist.c +++ b/src/or/rephist.c @@ -616,10 +616,3 @@ rep_hist_get_bandwidth_lines(void) return buf; } -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/or/router.c b/src/or/router.c index 30d245c72b..a63b58f86d 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -832,10 +832,3 @@ int is_legal_nickname_or_hexdigest(const char *s) return len == HEX_DIGEST_LEN+1 && strspn(s+1,HEX_CHARACTERS)==len-1; } -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/or/routerlist.c b/src/or/routerlist.c index 3609b038e3..fcb1027170 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -1217,10 +1217,3 @@ void clear_trusted_dir_servers(void) } } -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/or/routerparse.c b/src/or/routerparse.c index ce658c80ca..d5790ca8e4 100644 --- a/src/or/routerparse.c +++ b/src/or/routerparse.c @@ -1517,10 +1517,3 @@ int tor_version_compare(tor_version_t *a, tor_version_t *b) return 0; } -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/or/test.c b/src/or/test.c index 17dee27ec0..867ae33a48 100644 --- a/src/or/test.c +++ b/src/or/test.c @@ -1253,10 +1253,3 @@ main(int c, char**v) { return 0; } -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ diff --git a/src/or/tor_main.c b/src/or/tor_main.c index 59af33a58a..bcdfbc40e2 100644 --- a/src/or/tor_main.c +++ b/src/or/tor_main.c @@ -17,10 +17,3 @@ int main(int argc, char *argv[]) return tor_main(argc, argv); } -/* - Local Variables: - mode:c - indent-tabs-mode:nil - c-basic-offset:2 - End: -*/ |