18 lines
207 B
C
18 lines
207 B
C
struct foo {
|
|
int a;
|
|
int b;
|
|
} afoo = { 1, 2};
|
|
|
|
struct foo *getfoo ()
|
|
{
|
|
return (&afoo);
|
|
}
|
|
|
|
#ifdef __STDC__
|
|
void putfoo (struct foo *foop)
|
|
#else
|
|
void putfoo (foop)
|
|
struct foo *foop;
|
|
#endif
|
|
{
|
|
}
|