blob: 5821ca4e96da16c688d84881f8cf25f3f87197ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-ab,v 1.1 2005/02/02 16:41:22 jschauma Exp $
--- src/common/compat.c.orig Wed Feb 2 10:50:05 2005
+++ src/common/compat.c Wed Feb 2 11:15:38 2005
@@ -583,6 +583,8 @@
#ifndef MS_WINDOWS
struct tor_mutex_t {
+ /* struct declarations without members lead to undefined behaviour */
+ int unused;
};
tor_mutex_t *tor_mutex_new(void) { return NULL; }
void tor_mutex_acquire(tor_mutex_t *m) { }
|