projects
/
c11tester.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
unify style for returning pointers
[c11tester.git]
/
threads.cc
diff --git
a/threads.cc
b/threads.cc
index 830ea1a484159c9df61b641994781d30f97cb989..be384fb2889b1fdc85f16ae89e6274b8de833636 100644
(file)
--- a/
threads.cc
+++ b/
threads.cc
@@
-10,7
+10,7
@@
#define STACK_SIZE (1024 * 1024)
#define STACK_SIZE (1024 * 1024)
-static void *stack_allocate(size_t size)
+static void *
stack_allocate(size_t size)
{
return malloc(size);
}
{
return malloc(size);
}
@@
-20,7
+20,7
@@
static void stack_free(void *stack)
free(stack);
}
free(stack);
}
-Thread *thread_current(void)
+Thread *
thread_current(void)
{
return model->scheduler->get_current_thread();
}
{
return model->scheduler->get_current_thread();
}