Listing 1 A Date type in C

/* date.h */

struct Date
{
   int month;
   int day;
   int year;
};
typedef struct Date Date;

char *date_format(const Date *, char *);
int date_compare(const Date *, const Date *);

/* End of File */