mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
19 lines
209 B
C
19 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
|
|
{
|
|
}
|