summaryrefslogtreecommitdiff
path: root/utils/http
diff options
context:
space:
mode:
Diffstat (limited to 'utils/http')
-rw-r--r--utils/http/generics.c2
-rw-r--r--utils/http/generics.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/utils/http/generics.c b/utils/http/generics.c
index e0798f901..054446e4c 100644
--- a/utils/http/generics.c
+++ b/utils/http/generics.c
@@ -33,7 +33,7 @@ void http___item_list_destroy(http__item *list)
list = victim->next;
- victim->free(victim);
+ victim->ffree(victim);
}
}
diff --git a/utils/http/generics.h b/utils/http/generics.h
index a5af73458..878627ed4 100644
--- a/utils/http/generics.h
+++ b/utils/http/generics.h
@@ -29,12 +29,12 @@
typedef struct http__item {
struct http__item *next; /**< Next item in list, or NULL */
- void (*free)(struct http__item *self); /**< Item destructor */
+ void (*ffree)(struct http__item *self); /**< Item destructor */
} http__item;
#define HTTP__ITEM_INIT(item, n, f) \
((http__item *) (item))->next = (http__item *) (n); \
- ((http__item *) (item))->free = (void (*)(http__item *)) (f)
+ ((http__item *) (item))->ffree = (void (*)(http__item *)) (f)
/**
* Type of an item parser