From 3dc15952f2e1eae81dd05164b212adf891478dff Mon Sep 17 00:00:00 2001 From: micah Date: Mon, 27 Aug 2007 13:27:30 -0700 Subject: [PATCH] [svn] Make run_with_timeout align with its declaration in utils.h --- src/ChangeLog | 2 ++ src/utils.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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); -- 2.39.2