here you go:
If you already know structures (you do, right?) it does not change anything for you: it simply tells the compiler to keep this object 'a' private (i.e. not exported when linking with other binaries).Code:static struct point { int x; int y; } a;
PS: for the part related to the creation of a library (static? dynamic?) it depends on your tools and platform.