summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
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
+