diff options
author | Kristian Høgsberg <krh@redhat.com> | 2008-06-20 16:48:44 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@redhat.com> | 2008-06-20 16:48:44 -0400 |
commit | 1e9df0cb2d4c377b14732441a8ced0d304903722 (patch) | |
tree | 517544e7807d40de7cfe4731e02648aac415d03b /src | |
parent | e557f97da15b1682b2e9854672b019485bc48362 (diff) |
Rename razor_importer_new to _create to follow convention.
Diffstat (limited to 'src')
-rw-r--r-- | src/import-rpmdb.c | 2 | ||||
-rw-r--r-- | src/import-yum.c | 2 | ||||
-rw-r--r-- | src/main.c | 2 | ||||
-rw-r--r-- | src/rpm.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/import-rpmdb.c b/src/import-rpmdb.c index 22d0855..916ca27 100644 --- a/src/import-rpmdb.c +++ b/src/import-rpmdb.c @@ -97,7 +97,7 @@ razor_set_create_from_rpmdb(void) exit(1); } - importer = razor_importer_new(); + importer = razor_importer_create(); iter = rpmdbInitIterator(db, 0, NULL, 0); while (h = rpmdbNextIterator(iter), h != NULL) { diff --git a/src/import-yum.c b/src/import-yum.c index 2efd201..f70c71d 100644 --- a/src/import-yum.c +++ b/src/import-yum.c @@ -256,7 +256,7 @@ razor_set_create_from_yum(void) gzFile primary, filelists; XML_ParsingStatus status; - ctx.importer = razor_importer_new(); + ctx.importer = razor_importer_create(); ctx.state = YUM_STATE_BEGIN; ctx.primary_parser = XML_ParserCreate(NULL); @@ -537,7 +537,7 @@ command_import_rpms(int argc, const char *argv[]) return -1; } - importer = razor_importer_new(); + importer = razor_importer_create(); while (de = readdir(dir), de != NULL) { len = strlen(de->d_name); @@ -414,7 +414,7 @@ create_set_from_command_line(int argc, const char *argv[]) struct razor_rpm *rpm; int i; - importer = razor_importer_new(); + importer = razor_importer_create(); for (i = 0; i < argc; i++) { rpm = razor_rpm_open(argv[i]); |