summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_spinlock.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/test/test_spinlock.c b/src/test/test_spinlock.c
index 4f235907d..a11f8643b 100644
--- a/src/test/test_spinlock.c
+++ b/src/test/test_spinlock.c
@@ -18,7 +18,6 @@
#define PERINC 100000
#define LOOPS 47
-
static SPIN_LOCK lock;
static unsigned int val = 0;
static volatile int32 done_threads = 0;
@@ -41,7 +40,6 @@ static void *worker(void *p){
return NULL;
}//end: worker()
-
int do_init(int argc, char **argv){
rAthread *t[THRC];
int j, i;
@@ -88,27 +86,20 @@ int do_init(int argc, char **argv){
ShowStatus("Test passed.\n");
exit(0);
}
-
-
-return 0;
+ return 0;
}//end: do_init()
-
void do_abort(void) {
}//end: do_abort()
-
void set_server_type(void) {
SERVER_TYPE = SERVER_TYPE_UNKNOWN;
}//end: set_server_type()
-
int do_final(void) {
return EXIT_SUCCESS;
}//end: do_final()
-
int parse_console(const char* command){
return 0;
}//end: parse_console
-