summaryrefslogtreecommitdiff
path: root/src/pacman/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman/conf.c')
-rw-r--r--src/pacman/conf.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/pacman/conf.c b/src/pacman/conf.c
index 7f407535..72031a5f 100644
--- a/src/pacman/conf.c
+++ b/src/pacman/conf.c
@@ -38,21 +38,21 @@
extern list_t *pmc_syncs;
-pmconfig_t *config_new()
+config_t *config_new()
{
- pmconfig_t *config;
+ config_t *config;
- config = (pmconfig_t *)malloc(sizeof(pmconfig_t));
+ config = (config_t *)malloc(sizeof(config_t));
if(config == NULL) {
return(NULL);
}
- memset(config, 0, sizeof(pmconfig_t));
+ memset(config, 0, sizeof(config_t));
return(config);
}
-int config_free(pmconfig_t *config)
+int config_free(config_t *config)
{
if(config == NULL) {
return(-1);
@@ -71,7 +71,7 @@ int config_free(pmconfig_t *config)
return(0);
}
-int parseconfig(pmconfig_t *config)
+int parseconfig(config_t *config)
{
FILE *fp = NULL;
char line[PATH_MAX+1];