Skip to content

Commit

Permalink
Change format to support non c99 standard compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
siu committed Jun 27, 2012
1 parent 395c8de commit a49ff23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions minunit.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ static int minunit_fail = 0;

// Timers
typedef struct timespec timespec_t ;
static timespec_t minunit_real_timer = { .tv_sec = 0, .tv_nsec = 0 };
static timespec_t minunit_proc_timer = { .tv_sec = 0, .tv_nsec = 0 };
static timespec_t minunit_real_timer = { 0, 0 };
static timespec_t minunit_proc_timer = { 0, 0 };

// Last message
static char minunit_last_message[MINUNIT_MESSAGE_LEN];
Expand Down

0 comments on commit a49ff23

Please sign in to comment.