old-cross-binutils/gdb/testsuite/gdb.base/opaque1.c
1999-06-28 16:06:02 +00:00

18 lines
209 B
C

struct foo {
int a;
int b;
} afoo = { 1, 2};
struct foo *getfoo ()
{
return (&afoo);
}
#ifdef PROTOTYPES
void putfoo (struct foo *foop)
#else
void putfoo (foop)
struct foo *foop;
#endif
{
}