summaryrefslogtreecommitdiff
path: root/product.c
diff options
context:
space:
mode:
Diffstat (limited to 'product.c')
-rw-r--r--product.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/product.c b/product.c
index 6c30834..33286cd 100644
--- a/product.c
+++ b/product.c
@@ -1,10 +1,7 @@
#include <stdlib.h>
-#include "request.h"
#include "icclient/product.h"
-typedef struct icclient_catalog icclient_catalog;
-
-void icclient_product_freecatalog(icclient_catalog *catalog)
+void icclient_catalog_free(struct icclient_catalog *catalog)
{
for (size_t i = 0; i < catalog->length; i++) {
struct icclient_product *product = catalog->products[i];