Use of typedef struct instead of struct alone to clarify code