summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-06-09 19:03:31 +0000
committerNick Mathewson <nickm@torproject.org>2005-06-09 19:03:31 +0000
commit08318237636f16badf8fb81e0936766c7129515f (patch)
tree9185217320870f62c19a9be2ebd81cc337100710 /src/common
parented426e6ac540d78b355acbddb255daf56e32f381 (diff)
downloadtor-08318237636f16badf8fb81e0936766c7129515f.tar.gz
tor-08318237636f16badf8fb81e0936766c7129515f.zip
Change end-of-file NLNL convention. It turns out arma I and I agree.
svn:r4382
Diffstat (limited to 'src/common')
-rw-r--r--src/common/aes.c1
-rw-r--r--src/common/aes.h1
-rw-r--r--src/common/compat.c1
-rw-r--r--src/common/compat.h1
-rw-r--r--src/common/container.c1
-rw-r--r--src/common/container.h1
-rw-r--r--src/common/crypto.c1
-rw-r--r--src/common/crypto.h1
-rw-r--r--src/common/log.c1
-rw-r--r--src/common/log.h1
-rw-r--r--src/common/test.h1
-rw-r--r--src/common/torgzip.c1
-rw-r--r--src/common/torgzip.h1
-rw-r--r--src/common/torint.h1
-rw-r--r--src/common/tortls.c1
-rw-r--r--src/common/tortls.h1
-rw-r--r--src/common/util.c1
-rw-r--r--src/common/util.h1
18 files changed, 18 insertions, 0 deletions
diff --git a/src/common/aes.c b/src/common/aes.c
index 455563c8cd..1f7195cbc2 100644
--- a/src/common/aes.c
+++ b/src/common/aes.c
@@ -812,3 +812,4 @@ void rijndaelEncrypt(const u32 rk[/*4*(Nr + 1)*/], int Nr, const u8 pt[16], u8 c
rk[3];
PUTU32(ct + 12, s3);
}
+
diff --git a/src/common/aes.h b/src/common/aes.h
index 693880a7cb..44e8b00910 100644
--- a/src/common/aes.h
+++ b/src/common/aes.h
@@ -28,3 +28,4 @@ void aes_set_counter(aes_cnt_cipher_t *cipher, uint64_t counter);
void aes_adjust_counter(aes_cnt_cipher_t *cipher, long delta);
#endif
+
diff --git a/src/common/compat.c b/src/common/compat.c
index 8bdecfc7fb..4c46906a00 100644
--- a/src/common/compat.c
+++ b/src/common/compat.c
@@ -1031,3 +1031,4 @@ int network_init(void)
#endif
return 0;
}
+
diff --git a/src/common/compat.h b/src/common/compat.h
index 5dd5104e2a..8f44e93857 100644
--- a/src/common/compat.h
+++ b/src/common/compat.h
@@ -239,3 +239,4 @@ unsigned long tor_get_thread_id(void);
#endif
#endif
+
diff --git a/src/common/container.c b/src/common/container.c
index 408b49f3d4..f892cd6773 100644
--- a/src/common/container.c
+++ b/src/common/container.c
@@ -649,3 +649,4 @@ int strmap_isempty(strmap_t *map)
{
return SPLAY_EMPTY(&map->head);
}
+
diff --git a/src/common/container.h b/src/common/container.h
index 60a13c5965..0b64a05e45 100644
--- a/src/common/container.h
+++ b/src/common/container.h
@@ -94,3 +94,4 @@ void strmap_iter_get(strmap_iter_t *iter, const char **keyp, void **valp);
int strmap_iter_done(strmap_iter_t *iter);
#endif
+
diff --git a/src/common/crypto.c b/src/common/crypto.c
index ca50d877ae..d05d012694 100644
--- a/src/common/crypto.c
+++ b/src/common/crypto.c
@@ -1675,3 +1675,4 @@ setup_openssl_threading(void) {
#else
static int setup_openssl_threading(void) { return 0; }
#endif
+
diff --git a/src/common/crypto.h b/src/common/crypto.h
index 8fe50f9692..06245668cf 100644
--- a/src/common/crypto.h
+++ b/src/common/crypto.h
@@ -160,3 +160,4 @@ void secret_to_key(char *key_out, size_t key_out_len, const char *secret,
size_t secret_len, const char *s2k_specifier);
#endif
+
diff --git a/src/common/log.c b/src/common/log.c
index 6bcc75e3a9..e254eb0698 100644
--- a/src/common/log.c
+++ b/src/common/log.c
@@ -537,3 +537,4 @@ void suppress_libevent_log_msg(const char *msg)
void configure_libevent_logging(void) {}
void suppress_libevent_log_msg(const char *msg) {}
#endif
+
diff --git a/src/common/log.h b/src/common/log.h
index d64559ce83..bfcb557e6d 100644
--- a/src/common/log.h
+++ b/src/common/log.h
@@ -99,3 +99,4 @@ void _log_fn(int severity, const char *format, ...);
# define __LOG_H
#endif
+
diff --git a/src/common/test.h b/src/common/test.h
index 957437cdf7..ec613b2c42 100644
--- a/src/common/test.h
+++ b/src/common/test.h
@@ -136,3 +136,4 @@ extern int have_failed;
} STMT_END
#endif
+
diff --git a/src/common/torgzip.c b/src/common/torgzip.c
index 2fdcd453fe..b6753e8aca 100644
--- a/src/common/torgzip.c
+++ b/src/common/torgzip.c
@@ -245,3 +245,4 @@ int detect_compression_method(const char *in, size_t in_len)
return 0;
}
}
+
diff --git a/src/common/torgzip.h b/src/common/torgzip.h
index a52cc0fb40..94aeceb5c1 100644
--- a/src/common/torgzip.h
+++ b/src/common/torgzip.h
@@ -30,3 +30,4 @@ int is_gzip_supported(void);
int detect_compression_method(const char *in, size_t in_len);
#endif
+
diff --git a/src/common/torint.h b/src/common/torint.h
index cb6fff1a51..96464a29ad 100644
--- a/src/common/torint.h
+++ b/src/common/torint.h
@@ -250,3 +250,4 @@ typedef uint32_t uintptr_t;
#define SIZE_T_CEILING (sizeof(char)<<(sizeof(size_t)*8 - 1))
#endif /* __TORINT_H */
+
diff --git a/src/common/tortls.c b/src/common/tortls.c
index e6e13a0899..900965b1e1 100644
--- a/src/common/tortls.c
+++ b/src/common/tortls.c
@@ -859,3 +859,4 @@ void _check_no_tls_errors(const char *fname, int line)
fname, line);
tls_log_errors(LOG_WARN, NULL);
}
+
diff --git a/src/common/tortls.h b/src/common/tortls.h
index 1703b95b62..4d8aba264b 100644
--- a/src/common/tortls.h
+++ b/src/common/tortls.h
@@ -51,3 +51,4 @@ unsigned long tor_tls_get_n_bytes_written(tor_tls *tls);
void _check_no_tls_errors(const char *fname, int line);
#endif
+
diff --git a/src/common/util.c b/src/common/util.c
index 943f912b47..a9441055df 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -1443,3 +1443,4 @@ void write_pidfile(char *filename) {
}
#endif
}
+
diff --git a/src/common/util.h b/src/common/util.h
index 31196085c6..f6504abc7d 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -142,3 +142,4 @@ void finish_daemon(const char *desired_cwd);
void write_pidfile(char *filename);
#endif
+