mirror of
https://github.com/mirror/wget.git
synced 2024-12-29 14:30:48 +08:00
[svn] Make run_with_timeout align with its declaration in utils.h
This commit is contained in:
parent
c508cd63e1
commit
3dc15952f2
@ -10,6 +10,8 @@
|
||||
* main.c: Include all the static function definitions in the
|
||||
"#ifndef TESTING" clause, leaving just the definitions for
|
||||
exec_name (not set), and opt.
|
||||
* utils.c (run_with_timeout): Now returns bool, to align with
|
||||
declaration in utils.h.
|
||||
|
||||
2007-08-27 Micah Cowan <micah@cowan.name>
|
||||
|
||||
|
@ -1816,7 +1816,7 @@ run_with_timeout (double timeout, void (*fun) (void *), void *arg)
|
||||
define it under Windows, because Windows has its own version of
|
||||
run_with_timeout that uses threads. */
|
||||
|
||||
int
|
||||
bool
|
||||
run_with_timeout (double timeout, void (*fun) (void *), void *arg)
|
||||
{
|
||||
fun (arg);
|
||||
|
Loading…
Reference in New Issue
Block a user