old-cross-binutils/gdb/testsuite/gdb.base/opaque1.c

19 lines
207 B
C
Raw Normal View History

1994-06-07 01:57:15 +00:00
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
{
}