xref: /openbsd-src/gnu/usr.bin/binutils/gdb/testsuite/gdb.base/opaque1.c (revision b2ea75c1b17e1a9a339660e7ed45cd24946b230e)
1 struct foo {
2     int a;
3     int b;
4 } afoo = { 1, 2};
5 
6 struct foo *getfoo ()
7 {
8     return (&afoo);
9 }
10 
11 #ifdef __STDC__
12 void putfoo (struct foo *foop)
13 #else
14 void putfoo (foop)
15      struct foo *foop;
16 #endif
17 {
18 }
19