From 1fdbe7902219c5ed3e56b921acae4f3a58b9e76e Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Tue, 28 Jun 2011 14:37:16 +1000 Subject: Rename pmgrp_t to alpm_group_t Signed-off-by: Allan McRae --- lib/libalpm/group.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/libalpm/group.c') diff --git a/lib/libalpm/group.c b/lib/libalpm/group.c index 07acfa89..aefa7be8 100644 --- a/lib/libalpm/group.c +++ b/lib/libalpm/group.c @@ -30,17 +30,17 @@ #include "log.h" #include "alpm.h" -pmgrp_t *_alpm_grp_new(const char *name) +alpm_group_t *_alpm_grp_new(const char *name) { - pmgrp_t* grp; + alpm_group_t* grp; - CALLOC(grp, 1, sizeof(pmgrp_t), return NULL); + CALLOC(grp, 1, sizeof(alpm_group_t), return NULL); STRDUP(grp->name, name, free(grp); return NULL); return grp; } -void _alpm_grp_free(pmgrp_t *grp) +void _alpm_grp_free(alpm_group_t *grp) { if(grp == NULL) { return; -- cgit v1.2.3 From b1894ccf062059972d39fa855ee7941b666c5db0 Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Wed, 29 Jun 2011 15:52:33 +1000 Subject: Rename internal functions with grp in their name The following function renames take place for the same reasoning as the previous commit: _alpm_grp_new -> _alpm_group_new _alpm_grp_free -> _alpm_group_free _alpm_db_free_grpcache -> _alpm_db_free_groupcache _alpm_db_get_grpfromcache -> _alpm_db_get_groupfromcache Signed-off-by: Allan McRae --- lib/libalpm/group.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libalpm/group.c') diff --git a/lib/libalpm/group.c b/lib/libalpm/group.c index aefa7be8..47458df2 100644 --- a/lib/libalpm/group.c +++ b/lib/libalpm/group.c @@ -30,7 +30,7 @@ #include "log.h" #include "alpm.h" -alpm_group_t *_alpm_grp_new(const char *name) +alpm_group_t *_alpm_group_new(const char *name) { alpm_group_t* grp; @@ -40,7 +40,7 @@ alpm_group_t *_alpm_grp_new(const char *name) return grp; } -void _alpm_grp_free(alpm_group_t *grp) +void _alpm_group_free(alpm_group_t *grp) { if(grp == NULL) { return; -- cgit v1.2.3