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

19 lines
209 B
C
Raw Normal View History

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