diff options
author | Aurelien Foret <aurelien@archlinux.org> | 2005-10-29 07:00:56 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2005-10-29 07:00:56 +0000 |
commit | 44fc71396fd43cf832f30d4a3a3da0e0a53853f0 (patch) | |
tree | 55a8789c8b2acf709f4318b888055ffa3a9faf7e /src/pacman/conf.c | |
parent | 7fac942da1826cd99eda51078ce32c0992e3fd24 (diff) |
renamed pmconfig_t to config_t
Diffstat (limited to 'src/pacman/conf.c')
-rw-r--r-- | src/pacman/conf.c | 12 |
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]; |