change syntax for extern struct