Commit | Line | Data |
---|---|---|
c906108c SS |
1 | struct foo { |
2 | int a; | |
3 | int b; | |
4 | } afoo = { 1, 2}; | |
5 | ||
6 | struct foo *getfoo () | |
7 | { | |
8 | return (&afoo); | |
9 | } | |
10 | ||
085dd6e6 | 11 | #ifdef PROTOTYPES |
c906108c SS |
12 | void putfoo (struct foo *foop) |
13 | #else | |
14 | void putfoo (foop) | |
15 | struct foo *foop; | |
16 | #endif | |
17 | { | |
18 | } |