aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/control-spec.txt7
-rw-r--r--doc/tor-spec.txt7
-rw-r--r--src/common/aes.c7
-rw-r--r--src/common/aes.h7
-rw-r--r--src/common/compat.c7
-rw-r--r--src/common/compat.h7
-rw-r--r--src/common/container.c7
-rw-r--r--src/common/container.h8
-rw-r--r--src/common/crypto.c7
-rw-r--r--src/common/crypto.h7
-rw-r--r--src/common/fakepoll.c7
-rw-r--r--src/common/fakepoll.h7
-rw-r--r--src/common/log.c7
-rw-r--r--src/common/log.h7
-rw-r--r--src/common/test.h7
-rw-r--r--src/common/torgzip.c7
-rw-r--r--src/common/torint.h7
-rw-r--r--src/common/tortls.c7
-rw-r--r--src/common/tortls.h7
-rw-r--r--src/common/util.c7
-rw-r--r--src/common/util.h7
-rw-r--r--src/or/buffers.c7
-rw-r--r--src/or/circuitbuild.c7
-rw-r--r--src/or/circuitlist.c7
-rw-r--r--src/or/circuituse.c7
-rw-r--r--src/or/command.c7
-rw-r--r--src/or/config.c7
-rw-r--r--src/or/connection.c7
-rw-r--r--src/or/connection_edge.c7
-rw-r--r--src/or/connection_or.c7
-rw-r--r--src/or/control.c7
-rw-r--r--src/or/cpuworker.c7
-rw-r--r--src/or/directory.c7
-rw-r--r--src/or/dirserv.c7
-rw-r--r--src/or/dns.c7
-rw-r--r--src/or/main.c7
-rw-r--r--src/or/onion.c7
-rw-r--r--src/or/or.h7
-rw-r--r--src/or/rendclient.c7
-rw-r--r--src/or/rendcommon.c7
-rw-r--r--src/or/rendmid.c7
-rw-r--r--src/or/rendservice.c7
-rw-r--r--src/or/rephist.c7
-rw-r--r--src/or/router.c7
-rw-r--r--src/or/routerlist.c7
-rw-r--r--src/or/routerparse.c7
-rw-r--r--src/or/test.c7
-rw-r--r--src/or/tor_main.c7
48 files changed, 0 insertions, 337 deletions
diff --git a/doc/control-spec.txt b/doc/control-spec.txt
index 8f2f2d8c0..9e4ec7939 100644
--- a/doc/control-spec.txt
+++ b/doc/control-spec.txt
@@ -227,10 +227,3 @@ the message.
If you ask for lots of events, and 16MB of them queue up on the buffer,
the Tor process will close the socket.
------------
-(for emacs)
- Local Variables:
- mode:text
- indent-tabs-mode:nil
- fill-column:77
- End:
diff --git a/doc/tor-spec.txt b/doc/tor-spec.txt
index 0c3e11647..9d180b440 100644
--- a/doc/tor-spec.txt
+++ b/doc/tor-spec.txt
@@ -809,10 +809,3 @@ A.1. Differences between spec and implementation
addresses in their exit policies. The current codebase has no IPv6
support at all.
------------
-(for emacs)
- Local Variables:
- mode:text
- indent-tabs-mode:nil
- fill-column:77
- End:
diff --git a/src/common/aes.c b/src/common/aes.c
index 4d0111e6c..f6f4a1233 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 085ea5593..790fb4438 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 4a02dd1c7..5b70ad7db 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 f62e83354..6745cb8c4 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 f41dfd76a..e26ec81c3 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 fbfe93d56..701af3295 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 e779ceead..d7371fb76 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 7042da384..5fc862521 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 0f39d81ee..fb375f1e9 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 bf11237dd..c8632bb7b 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 c91b13275..c2639560f 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 73726586c..968686ef3 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 656d9ba51..684968eaa 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 0491d87d1..bffd81984 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 359f510d5..eef6bee2e 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 d930f4642..34c271219 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 ff2d69e1d..d8fcb9e09 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 f2386cde4..a6a082a96 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 ea635579a..4a627e549 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 cf71c1045..47b82fed4 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 1108b688a..44e2f1286 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 e93c390af..8e4438a17 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 9e9762957..e2ec8ea2e 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 01568d279..dc9b372ad 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 cfc795270..deaef3299 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 3cf29bc90..a26121044 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 20a30c469..a24acb177 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 45070f87f..271f32323 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 33144a78c..c2559cb64 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 b72343a81..762c2f86a 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 175db8242..4f78aa006 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 d7ba37515..86ecc24dd 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 7593d2cf0..2d2914ff8 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 7a355475d..6137866fa 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 a4b42b217..b940bd539 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 7039885c7..fb24f44aa 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 8c7519853..976ed9770 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 559f21098..a899d144f 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 02394d8d3..f37e19e53 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 d8e86e68f..86e2ac722 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 72a9f4a81..d629e58df 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 30d245c72..a63b58f86 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 3609b038e..fcb102717 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 ce658c80c..d5790ca8e 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 17dee27ec..867ae33a4 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 59af33a58..bcdfbc40e 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:
-*/