Browse Source

c99 bool adjustment to protoype

ahc_fix_select
tedbullock 17 years ago
parent
commit
cb71ec84ea
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      httperf/src/lib/list.c
  2. +1
    -1
      httperf/src/lib/list.h

+ 1
- 1
httperf/src/lib/list.c View File

@@ -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;



+ 1
- 1
httperf/src/lib/list.h View File

@@ -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();


Loading…
Cancel
Save