One thing you might consider is to define a template.
For example:
Code:
typedef struct {
int depart;
int arrive;
const char *attendant;
} FLIGHT_DEF;
Then declare the actual storage and contents:
Code:
FLIGHT_DEF flight[] = {
{800, 1016, "Jason Mackenzie"},
{943, 1152, "Valerie Woods"},
{1119, 1331, "Antonio Vasquez"},
{1247, 1500, "Natalie McIver"},
{1400, 1608, "Scott Curtis"},
{1545, 1755, "Yvonne Vogelar"},
{1900, 2120, "Mitch Matthews"},
{2145, 2358, "Marcie Maddox"},
};
The advantage there is that you may now use FLIGHT_DEF as a parameter type to functions (cast), or determine number of elements:
Code:
#define FLIGHT_DEF_SIZE (sizeof(flight)/sizeof(FLIGHT_DEF))
... which could come in handy.
The capitalization and closing brace on separate line are old habits. Makes adding/deleting records easier. Eventually I take all the capitalized typedefs into a separate include file so that they may become available in other modules.