From: micah Date: Mon, 27 Aug 2007 20:27:30 +0000 (-0700) Subject: [svn] Make run_with_timeout align with its declaration in utils.h X-Git-Tag: v1.13~562 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=3dc15952f2e1eae81dd05164b212adf891478dff [svn] Make run_with_timeout align with its declaration in utils.h --- diff --git a/src/ChangeLog b/src/ChangeLog index 59e5bd99..7de71b35 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -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 diff --git a/src/utils.c b/src/utils.c index 99d1ed2d..0a222d99 100644 --- a/src/utils.c +++ b/src/utils.c @@ -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);