aboutsummaryrefslogtreecommitdiff
path: root/tests/stack.c
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2021-08-01 01:49:50 +1200
committerTom Ryder <tom@sanctum.geek.nz>2021-08-01 01:49:50 +1200
commit7a2628cb2e6e81cded2da702467c7b68b953f685 (patch)
tree7b12ccba3937bb2e953bcca71e74897a5cc8cf19 /tests/stack.c
parentPare down Makefile for tests (diff)
downloaddoomsh-7a2628cb2e6e81cded2da702467c7b68b953f685.tar.gz
doomsh-7a2628cb2e6e81cded2da702467c7b68b953f685.zip
Use tabs for indentation
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);
}