views:

392

answers:

1
struct SomeStruct;
typedef struct SomeStruct SomeStruct;

The above works, but is there a simpler (or better) way?

+2  A: 

Turns out I don't need the first line. The second line works by itself.

Sydius
Yes - that's the obvious shortening!
Jonathan Leffler