aboutsummaryrefslogtreecommitdiff
path: root/tests/stack.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stack.c')
-rw-r--r--tests/stack.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/stack.c b/tests/stack.c
index 7c6846b..86bf042 100644
--- a/tests/stack.c
+++ b/tests/stack.c
@@ -23,11 +23,11 @@ void rec(int *ip);
/* stack.c -- Cause a stack overflow */
int main(void) {
- int i = 0;
- rec(&i);
+ int i = 0;
+ rec(&i);
}
void rec(int *ip) {
- char i[256];
- printf("%u\n", (*ip)++);
- rec(ip);
+ char i[256];
+ printf("%u\n", (*ip)++);
+ rec(ip);
}