aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-03-14 03:18:35 +0000
committerNick Mathewson <nickm@torproject.org>2005-03-14 03:18:35 +0000
commit97dad670ead7383d27c9a284be09d37b6151b29e (patch)
tree742dc673e66270f931802b5023450233d2da2bb9 /src/common
parentfd150459b36128695e6ce74e4d99d7896fee5e38 (diff)
downloadtor-97dad670ead7383d27c9a284be09d37b6151b29e.tar
tor-97dad670ead7383d27c9a284be09d37b6151b29e.tar.gz
Renormalize whitespace
svn:r3757
Diffstat (limited to 'src/common')
-rw-r--r--src/common/compat.c1
-rw-r--r--src/common/compat.h5
2 files changed, 1 insertions, 5 deletions
diff --git a/src/common/compat.c b/src/common/compat.c
index 7667dd354..c3c3ca2a0 100644
--- a/src/common/compat.c
+++ b/src/common/compat.c
@@ -767,7 +767,6 @@ void tor_gettimeofday(struct timeval *timeval) {
return;
}
-
#if defined(TOR_IS_MULTITHREADED) && !defined(MS_WINDOWS)
#define TIME_FNS_NEED_LOCKS
#endif
diff --git a/src/common/compat.h b/src/common/compat.h
index 801f1893f..fbb44d0fa 100644
--- a/src/common/compat.h
+++ b/src/common/compat.h
@@ -206,7 +206,6 @@ char *get_user_homedir(const char *username);
int spawn_func(int (*func)(void *), void *data);
void spawn_exit(void);
-
#if defined(MS_WINDOWS)
#define USE_WIN32_THREADS
#define TOR_IS_MULTITHREADED 1
@@ -230,10 +229,8 @@ unsigned long tor_get_thread_id(void);
#define tor_mutex_new() ((tor_mutex_t*)tor_malloc(sizeof(int)))
#define tor_mutex_acquire(m) do { } while (0)
#define tor_mutex_release(m) do { } while (0)
-#define tor_mutex_free(m) do { tor_free(m); } while(0)
+#define tor_mutex_free(m) do { tor_free(m); } while (0)
#define tor_get_thread_id() (1UL)
#endif
-
#endif
-