summaryrefslogtreecommitdiff
path: root/testcase/userstack.c
diff options
context:
space:
mode:
authorzy <[email protected]>2023-12-05 04:42:53 -0500
committerzy <[email protected]>2023-12-05 04:42:53 -0500
commit76213bc8bcb3d95a229e697e178d5f69ee542fa9 (patch)
treef78e8c51175b44aba4b63aff2d98b9ade669caf8 /testcase/userstack.c
parent2050806cafb56930a2b2dd3b5dfeb2ee0ede2cd6 (diff)
code clean
Diffstat (limited to 'testcase/userstack.c')
-rw-r--r--testcase/userstack.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/testcase/userstack.c b/testcase/userstack.c
index 003f19e..5da72c7 100644
--- a/testcase/userstack.c
+++ b/testcase/userstack.c
@@ -43,7 +43,7 @@ void *customFunction1(void *n) {
while (1) {
sleep(1);
} // never return, keep stack
- return NULL;
+ // return NULL;
} else {
printf("Calling customFunction2\n");
customFunction2(num-1);
@@ -59,7 +59,7 @@ void customFunction2(int n) {
while (1) {
sleep(1);
} // never return, keep stack
- return NULL;
+ // return NULL;
}
customFunction3(n-1);
}
@@ -72,7 +72,7 @@ void customFunction3(int n) {
while (1) {
sleep(1);
} // never return, keep stack
- return NULL;
+ // return NULL;
}
customFunction2(n-1);
}