From 16ff7cfa8ef2d50c97d79357c2b2c1fdc2bc241b Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Wed, 22 Feb 2006 20:49:33 +0000 Subject: improved _alpm_list_free handling --- lib/libalpm/sync.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libalpm/sync.h') diff --git a/lib/libalpm/sync.h b/lib/libalpm/sync.h index 196910ad..29d601b9 100644 --- a/lib/libalpm/sync.h +++ b/lib/libalpm/sync.h @@ -34,7 +34,7 @@ typedef struct __pmsyncpkg_t { #define FREESYNC(p) do { if(p) { _alpm_sync_free(p); p = NULL; } } while(0) pmsyncpkg_t *_alpm_sync_new(int type, pmpkg_t *spkg, void *data); -void _alpm_sync_free(pmsyncpkg_t *sync); +void _alpm_sync_free(void *data); PMList *_alpm_sync_load_dbarchive(char *archive); -- cgit v1.2.3-24-g4f1b