summaryrefslogtreecommitdiff
path: root/lib/libalpm/group.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-04-26 20:15:51 -0400
committerDan McGee <dan@archlinux.org>2007-04-27 20:38:54 -0400
commit3cf8a333d04cd8b55edfe63bd8f4dd322a88a4d0 (patch)
tree4687343834084a984dcf2490699428310b21333f /lib/libalpm/group.h
parentec7d6955b821c51a28efce31268c9c23cb1b5928 (diff)
downloadpacman-3cf8a333d04cd8b55edfe63bd8f4dd322a88a4d0.tar.xz
Remove FREEGRP macro and correctly type _alpm_grp_free
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/group.h')
-rw-r--r--lib/libalpm/group.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libalpm/group.h b/lib/libalpm/group.h
index c5366e64..7f679b55 100644
--- a/lib/libalpm/group.h
+++ b/lib/libalpm/group.h
@@ -31,11 +31,8 @@ struct __pmgrp_t {
alpm_list_t *packages; /* List of strings */
};
-#define FREEGRP(p) do { if(p) { _alpm_grp_free(p); p = NULL; } } while(0)
-#define FREELISTGRPS(p) _FREELIST(p, _alpm_grp_free)
-
pmgrp_t *_alpm_grp_new(void);
-void _alpm_grp_free(void *data);
+void _alpm_grp_free(pmgrp_t *grp);
int _alpm_grp_cmp(const void *g1, const void *g2);
#endif /* _ALPM_GROUP_H */