openocd/src
Andreas Färber f19ac83152 Fix usage of timeval_ms()
First, fix the timeval_ms() implementation to not have K&R but ANSI
argument semantics by adding a missing void.

timeval_ms() returns an int64_t, not uint64_t or long long. Consistently
use int64_t for variables and PRI*64 as format string.

While at it, change a few related variables to bool for clarity.

Note that timeval_ms() may return a negative error code, but not a
single caller checks for that.

Change-Id: I27cf83e75b3e9a8913f6c43e98a281bea77aac13
Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-on: http://openocd.zylin.com/3499
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
2016-07-19 10:45:16 +01:00
..
flash Fix usage of timeval_ms() 2016-07-19 10:45:16 +01:00
helper Fix usage of timeval_ms() 2016-07-19 10:45:16 +01:00
jtag Fix usage of timeval_ms() 2016-07-19 10:45:16 +01:00
pld Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
rtos Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
server server: support binding to arbitrary interfaces 2016-07-17 20:55:11 +01:00
svf Fix usage of timeval_ms() 2016-07-19 10:45:16 +01:00
target Fix usage of timeval_ms() 2016-07-19 10:45:16 +01:00
transport Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
xsvf Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
hello.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
hello.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
main.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
Makefile.am Makefile.am: link libusb-1.0 after libusb-0.1 to fix dependencies 2015-02-04 21:56:45 +00:00
openocd.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
openocd.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00