summaryrefslogtreecommitdiff
path: root/lib/libalpm/sync.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-04-26 20:11:30 -0400
committerDan McGee <dan@archlinux.org>2007-04-27 14:53:01 -0400
commitec7d6955b821c51a28efce31268c9c23cb1b5928 (patch)
tree2845c5169b4bb0303137e31fa18ae9ac8fbc7404 /lib/libalpm/sync.h
parentdb9e10f14215ab6453cd663a62cae5bdfac3d61b (diff)
downloadpacman-ec7d6955b821c51a28efce31268c9c23cb1b5928.tar.xz
Remove FREESYNC macro and correctly type _alpm_sync_free
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/sync.h')
-rw-r--r--lib/libalpm/sync.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libalpm/sync.h b/lib/libalpm/sync.h
index 3ba7e009..ef094b5c 100644
--- a/lib/libalpm/sync.h
+++ b/lib/libalpm/sync.h
@@ -32,10 +32,8 @@ struct __pmsyncpkg_t {
void *data;
};
-#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(void *data);
+void _alpm_sync_free(pmsyncpkg_t *data);
int _alpm_sync_sysupgrade(pmtrans_t *trans, pmdb_t *db_local, alpm_list_t *dbs_sync);
int _alpm_sync_addtarget(pmtrans_t *trans, pmdb_t *db_local, alpm_list_t *dbs_sync, char *name);