openocd/src/helper
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
..
bin2char.sh Fix some problems with the bin2char utility 2014-08-02 09:01:32 +00:00
binarybuffer.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
binarybuffer.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
command.c Fix usage of timeval_ms() 2016-07-19 10:45:16 +01:00
command.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
configuration.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
configuration.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
fileio.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
fileio.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
ioutil_stubs.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
ioutil.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
ioutil.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
jep106.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
jep106.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
jep106.inc helper: Add converter from JEP106 ID to manufacturer name 2016-01-22 15:02:16 +00:00
jim-nvp.c jim-nvp: Make Jim_GetOpt_String const-correct 2016-02-29 20:32:31 +00:00
jim-nvp.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
list.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
log.c Fix usage of timeval_ms() 2016-07-19 10:45:16 +01:00
log.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
Makefile.am helper: Add converter from JEP106 ID to manufacturer name 2016-01-22 15:02:16 +00:00
options.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
replacements.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
replacements.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
startup.tcl Tcl exception codes cleanup, shutdown command amendments 2015-04-14 12:11:48 +01:00
system.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
time_support_common.c Fix usage of timeval_ms() 2016-07-19 10:45:16 +01:00
time_support.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
time_support.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
types.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
update_jep106.pl helper: Add converter from JEP106 ID to manufacturer name 2016-01-22 15:02:16 +00:00
util.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
util.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00