1999-04-16 01:35:26 +00:00
|
|
|
struct foo {
|
|
|
|
int a;
|
|
|
|
int b;
|
|
|
|
} afoo = { 1, 2};
|
|
|
|
|
|
|
|
struct foo *getfoo ()
|
|
|
|
{
|
|
|
|
return (&afoo);
|
|
|
|
}
|
|
|
|
|
1999-06-28 16:06:02 +00:00
|
|
|
#ifdef PROTOTYPES
|
1999-04-16 01:35:26 +00:00
|
|
|
void putfoo (struct foo *foop)
|
|
|
|
#else
|
|
|
|
void putfoo (foop)
|
|
|
|
struct foo *foop;
|
|
|
|
#endif
|
|
|
|
{
|
|
|
|
}
|