summaryrefslogtreecommitdiff
path: root/src/fr-command-rpm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fr-command-rpm.c')
-rw-r--r--src/fr-command-rpm.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/fr-command-rpm.c b/src/fr-command-rpm.c
index 5fff8d7..2d81fc1 100644
--- a/src/fr-command-rpm.c
+++ b/src/fr-command-rpm.c
@@ -41,7 +41,6 @@ static void fr_command_rpm_finalize (GObject *object);
static FrCommandClass *parent_class = NULL;
-
/* -- list -- */
static time_t
@@ -95,7 +94,6 @@ mktime_from_string (char *month,
return mktime (&tm);
}
-
static void
list__process_line (char *line,
gpointer data)
@@ -179,7 +177,6 @@ list__process_line (char *line,
fr_command_add_file (comm, fdata);
}
-
static void
fr_command_rpm_list (FrCommand *comm)
{
@@ -192,7 +189,6 @@ fr_command_rpm_list (FrCommand *comm)
fr_process_start (comm->process);
}
-
static void
fr_command_rpm_extract (FrCommand *comm,
const char *from_file,
@@ -225,17 +221,14 @@ fr_command_rpm_extract (FrCommand *comm,
fr_process_end_command (comm->process);
}
-
const char *rpm_mime_type[] = { "application/x-rpm", NULL };
-
static const char **
fr_command_rpm_get_mime_types (FrCommand *comm)
{
return rpm_mime_type;
}
-
static FrCommandCap
fr_command_rpm_get_capabilities (FrCommand *comm,
const char *mime_type,
@@ -251,7 +244,6 @@ fr_command_rpm_get_capabilities (FrCommand *comm,
return capabilities;
}
-
static const char *
fr_command_rpm_get_packages (FrCommand *comm,
const char *mime_type)
@@ -259,7 +251,6 @@ fr_command_rpm_get_packages (FrCommand *comm,
return PACKAGES ("cpio,rpm");
}
-
static void
fr_command_rpm_class_init (FrCommandRpmClass *class)
{
@@ -278,7 +269,6 @@ fr_command_rpm_class_init (FrCommandRpmClass *class)
afc->get_packages = fr_command_rpm_get_packages;
}
-
static void
fr_command_rpm_init (FrCommand *comm)
{
@@ -291,7 +281,6 @@ fr_command_rpm_init (FrCommand *comm)
comm->propTest = FALSE;
}
-
static void
fr_command_rpm_finalize (GObject *object)
{
@@ -303,7 +292,6 @@ fr_command_rpm_finalize (GObject *object)
G_OBJECT_CLASS (parent_class)->finalize (object);
}
-
GType
fr_command_rpm_get_type ()
{