]>
Commit | Line | Data |
---|---|---|
1 | typedef struct { | |
2 | int *elements; | |
3 | int count; | |
4 | } data; | |
5 | ||
6 | void some_external_function(data a, data b, data c); | |
7 | int func_three(data jane, data hello, data world); | |
8 | ||
9 | int func_one(data foo, data bar, data buz) | |
10 | { | |
11 | return func_three(foo, bar, buz); | |
12 | } | |
13 | ||
14 | int func_two(data john, data doe, data biz) | |
15 | { | |
16 | some_external_function(john, doe, biz); | |
17 | ||
18 | return doe.count; | |
19 | } | |
20 | ||
21 | int func_three(data jane, data hello, data world) | |
22 | { | |
23 | return func_two(jane, hello, world); | |
24 | } |