I\'ve seen both full definitions of structs in headers and just declarations—is there any advantage to one method over the other?
struct
If it makes a differen
If the struct is to be used by other compilation units (.c files) , place it in the header file so you can include that header file wherever it is needed.
If the struct is only used in one compilation unit (.c file), you place it in that .c file.