summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--librazor/importer.c2
-rw-r--r--librazor/razor.h2
-rw-r--r--src/import-rpmdb.c2
-rw-r--r--src/import-yum.c2
-rw-r--r--src/main.c2
-rw-r--r--src/rpm.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/librazor/importer.c b/librazor/importer.c
index 10d87c2..b8132cf 100644
--- a/librazor/importer.c
+++ b/librazor/importer.c
@@ -92,7 +92,7 @@ razor_importer_add_file(struct razor_importer *importer, const char *name)
}
struct razor_importer *
-razor_importer_new(void)
+razor_importer_create(void)
{
struct razor_importer *importer;
diff --git a/librazor/razor.h b/librazor/razor.h
index d073ebb..b9ecb0e 100644
--- a/librazor/razor.h
+++ b/librazor/razor.h
@@ -143,7 +143,7 @@ int razor_transaction_unsatisfied_property(struct razor_transaction *trans,
struct razor_importer;
struct razor_rpm;
-struct razor_importer *razor_importer_new(void);
+struct razor_importer *razor_importer_create(void);
void razor_importer_destroy(struct razor_importer *importer);
void razor_importer_begin_package(struct razor_importer *importer,
const char *name,
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);
diff --git a/src/main.c b/src/main.c
index 6a2acf7..7dd4bb7 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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);
diff --git a/src/rpm.c b/src/rpm.c
index 7ad0d6d..57714c3 100644
--- a/src/rpm.c
+++ b/src/rpm.c
@@ -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]);