summaryrefslogtreecommitdiff
path: root/src/test/test_spinlock.c
diff options
context:
space:
mode:
authorHaruna <haru@dotalux.com>2015-06-19 12:48:19 +0200
committerHaruna <haru@dotalux.com>2015-06-19 12:48:19 +0200
commit61f0dcb9a812d057e28c53837327f99bcea4733e (patch)
tree76c299f94ef60fa6007321b8c403ebc93d8027c1 /src/test/test_spinlock.c
parentec7241c953392938cd3a8740bacb4c869636766f (diff)
parentf2fbdc16a14d07e0895cc09eeba689bc556481d2 (diff)
downloadhercules-61f0dcb9a812d057e28c53837327f99bcea4733e.tar.gz
hercules-61f0dcb9a812d057e28c53837327f99bcea4733e.tar.bz2
hercules-61f0dcb9a812d057e28c53837327f99bcea4733e.tar.xz
hercules-61f0dcb9a812d057e28c53837327f99bcea4733e.zip
Merge pull request #532 from MishimaHaruna/includes
Include paths
Diffstat (limited to 'src/test/test_spinlock.c')
-rw-r--r--src/test/test_spinlock.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/test/test_spinlock.c b/src/test/test_spinlock.c
index 19ae9aee7..4f235907d 100644
--- a/src/test/test_spinlock.c
+++ b/src/test/test_spinlock.c
@@ -1,9 +1,11 @@
+#define HERCULES_CORE
-#include "../common/core.h"
-#include "../common/atomic.h"
-#include "../common/thread.h"
-#include "../common/spinlock.h"
-#include "../common/showmsg.h"
+#include "common/atomic.h"
+#include "common/cbasetypes.h"
+#include "common/core.h"
+#include "common/thread.h"
+#include "common/spinlock.h"
+#include "common/showmsg.h"
#include <stdio.h>
#include <stdlib.h>
@@ -12,8 +14,6 @@
// Simple test for the spinlock implementation to see if it works properly..
//
-
-
#define THRC 32 //thread Count
#define PERINC 100000
#define LOOPS 47