From cb71ec84ea9f93d72b0755ddfbea4171e625e991 Mon Sep 17 00:00:00 2001 From: tedbullock Date: Fri, 16 Nov 2007 03:42:14 +0000 Subject: [PATCH] c99 bool adjustment to protoype --- httperf/src/lib/list.c | 2 +- httperf/src/lib/list.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/httperf/src/lib/list.c b/httperf/src/lib/list.c index 706c5d0..b627449 100644 --- a/httperf/src/lib/list.c +++ b/httperf/src/lib/list.c @@ -126,7 +126,7 @@ list_pop(struct List * l) } void -list_remove_if_true(struct List *l, int (*action) (Any_Type)) +list_remove_if_true(struct List *l, bool (*action) (Any_Type)) { struct Node *n = l->dummy_head; diff --git a/httperf/src/lib/list.h b/httperf/src/lib/list.h index 4ac8a71..039e20f 100644 --- a/httperf/src/lib/list.h +++ b/httperf/src/lib/list.h @@ -32,7 +32,7 @@ #ifndef list_h #define list_h -typedef int (*list_action) (Any_Type); +typedef bool (*list_action) (Any_Type); struct List; struct List *list_create();