]> git.sur5r.net Git - openocd/blobdiff - src/helper/time_support_common.c
Fix usage of timeval_ms()
[openocd] / src / helper / time_support_common.c
index e8cdc2c8e7c9837ff590edbbfa0432c1c1984251..b733c270ef8816966b66f5e0c7dd4405de123596 100644 (file)
@@ -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);