blob: bf90ecab6171323c6b3fd879266b2c6046a9a840 [file] [log] [blame]
/* Note that struct foo is opaque (never defined) in this file. This
is allowed by C since this file does not reference any members of
the structure. The debugger needs to be able to associate this
opaque structure definition with the full definition in another
file.
*/
struct foo *foop;
extern struct foo *getfoo ();
#ifdef PROTOTYPES
extern void putfoo (struct foo *foop);
#endif
int main ()
{
foop = getfoo ();
putfoo (foop);
return 0;
}