X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fhelper%2Ftime_support_common.c;h=b733c270ef8816966b66f5e0c7dd4405de123596;hb=ec0c23a3ab3908d9f573f7bd9b0fa33a11ec49ba;hp=e8cdc2c8e7c9837ff590edbbfa0432c1c1984251;hpb=d0e763ac7ef6aa17b17bd00ccdfbccfb4eacda69;p=fw%2Fopenocd diff --git a/src/helper/time_support_common.c b/src/helper/time_support_common.c index e8cdc2c8e..b733c270e 100644 --- a/src/helper/time_support_common.c +++ b/src/helper/time_support_common.c @@ -31,7 +31,7 @@ /* simple and low overhead fetching of ms counter. Use only * the difference between ms counters returned from this fn. */ -int64_t timeval_ms() +int64_t timeval_ms(void) { struct timeval now; int retval = gettimeofday(&now, NULL);