summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2011-04-25 15:59:04 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2011-04-25 15:59:04 (GMT)
commit4c153d2f34b0228e398ef3d1d935004dba6a9318 (patch)
tree671db59d972cb2c4ba8f58312e291e21d6bf825c /src
parent28d9328959df6f0542d872b73870d31fa9300f7b (diff)
downloadpowder-4c153d2f34b0228e398ef3d1d935004dba6a9318.zip
powder-4c153d2f34b0228e398ef3d1d935004dba6a9318.tar.gz
gravmutex = NULL not liked by some compilers (It's not actually correct anyway)
Diffstat (limited to 'src')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index ae62efc..e40da3d 100644
--- a/src/main.c
+++ b/src/main.c
@@ -186,8 +186,8 @@ sign signs[MAXSIGNS];
int numCores = 4;
-pthread_t gravthread;// = NULL;
-pthread_mutex_t gravmutex = NULL;
+pthread_t gravthread;
+pthread_mutex_t gravmutex;
int grav_ready = 0;
int core_count()