summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-09-28 00:52:28 -0400
committerNick Mathewson <nickm@torproject.org>2015-01-14 11:19:35 -0500
commitcc6529e9bb7d7e01a25b5632d6d6c2424c6fc2b4 (patch)
tree1ea4ebcc33f65cd4300e75a4d001093cf8c49e2f /src/common
parente5f8c772f4c468a20da8b9176c2b276ac76bbe78 (diff)
downloadtor-cc6529e9bb7d7e01a25b5632d6d6c2424c6fc2b4.tar.gz
tor-cc6529e9bb7d7e01a25b5632d6d6c2424c6fc2b4.zip
Fix check-spaces
Diffstat (limited to 'src/common')
-rw-r--r--src/common/compat_pthreads.c1
-rw-r--r--src/common/compat_threads.c1
-rw-r--r--src/common/compat_threads.h2
-rw-r--r--src/common/compat_winthreads.c3
-rw-r--r--src/common/workqueue.h1
5 files changed, 5 insertions, 3 deletions
diff --git a/src/common/compat_pthreads.c b/src/common/compat_pthreads.c
index 69f7bac9c9..848bfe0973 100644
--- a/src/common/compat_pthreads.c
+++ b/src/common/compat_pthreads.c
@@ -240,3 +240,4 @@ tor_threads_init(void)
set_main_thread();
}
}
+
diff --git a/src/common/compat_threads.c b/src/common/compat_threads.c
index f018475e18..79440070a2 100644
--- a/src/common/compat_threads.c
+++ b/src/common/compat_threads.c
@@ -253,3 +253,4 @@ alert_sockets_close(alert_sockets_t *socks)
}
socks->read_fd = socks->write_fd = -1;
}
+
diff --git a/src/common/compat_threads.h b/src/common/compat_threads.h
index a5db72d45f..acf3083f37 100644
--- a/src/common/compat_threads.h
+++ b/src/common/compat_threads.h
@@ -44,7 +44,6 @@ typedef struct tor_mutex_t {
#endif
} tor_mutex_t;
-
tor_mutex_t *tor_mutex_new(void);
tor_mutex_t *tor_mutex_new_nonrecursive(void);
void tor_mutex_init(tor_mutex_t *m);
@@ -113,3 +112,4 @@ int alert_sockets_create(alert_sockets_t *socks_out, uint32_t flags);
void alert_sockets_close(alert_sockets_t *socks);
#endif
+
diff --git a/src/common/compat_winthreads.c b/src/common/compat_winthreads.c
index 4820eb3481..71b994c4e4 100644
--- a/src/common/compat_winthreads.c
+++ b/src/common/compat_winthreads.c
@@ -33,7 +33,6 @@ spawn_func(void (*func)(void *), void *data)
return 0;
}
-
/** End the current thread/process.
*/
void
@@ -46,7 +45,6 @@ spawn_exit(void)
_exit(0);
}
-
void
tor_mutex_init(tor_mutex_t *m)
{
@@ -195,3 +193,4 @@ tor_threads_init(void)
{
set_main_thread();
}
+
diff --git a/src/common/workqueue.h b/src/common/workqueue.h
index ec1f7c9000..aa8620ddb7 100644
--- a/src/common/workqueue.h
+++ b/src/common/workqueue.h
@@ -45,3 +45,4 @@ tor_socket_t replyqueue_get_socket(replyqueue_t *rq);
void replyqueue_process(replyqueue_t *queue);
#endif
+