summaryrefslogtreecommitdiff
path: root/src/fr-command-cpio.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-27 17:40:17 +0200
committerraveit65 <[email protected]>2021-12-11 15:59:33 +0100
commit6c55334ad9b03006686e2db6c6f6167677a2f510 (patch)
treeb558cc0ad6d97c36b449dbcb2afecb3b9002a565 /src/fr-command-cpio.c
parent85909393571d91b3c267afe5341e54bfae5a6d50 (diff)
downloadengrampa-6c55334ad9b03006686e2db6c6f6167677a2f510.tar.bz2
engrampa-6c55334ad9b03006686e2db6c6f6167677a2f510.tar.xz
Use a blank line at most
Diffstat (limited to 'src/fr-command-cpio.c')
-rw-r--r--src/fr-command-cpio.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/fr-command-cpio.c b/src/fr-command-cpio.c
index 1b380ad..7a74f51 100644
--- a/src/fr-command-cpio.c
+++ b/src/fr-command-cpio.c
@@ -41,7 +41,6 @@ static void fr_command_cpio_finalize (GObject *object);
static FrCommandClass *parent_class = NULL;
-
/* -- list -- */
static time_t
@@ -85,7 +84,6 @@ mktime_from_string (char *month,
return mktime (&tm);
}
-
static void
list__process_line (char *line,
gpointer data)
@@ -170,7 +168,6 @@ list__process_line (char *line,
fr_command_add_file (comm, fdata);
}
-
static void
fr_command_cpio_list (FrCommand *comm)
{
@@ -183,7 +180,6 @@ fr_command_cpio_list (FrCommand *comm)
fr_process_start (comm->process);
}
-
static void
fr_command_cpio_extract (FrCommand *comm,
const char *from_file,
@@ -223,17 +219,14 @@ fr_command_cpio_extract (FrCommand *comm,
fr_process_end_command (comm->process);
}
-
const char *cpio_mime_type[] = { "application/x-cpio", NULL };
-
static const char **
fr_command_cpio_get_mime_types (FrCommand *comm)
{
return cpio_mime_type;
}
-
static FrCommandCap
fr_command_cpio_get_capabilities (FrCommand *comm,
const char *mime_type,
@@ -248,7 +241,6 @@ fr_command_cpio_get_capabilities (FrCommand *comm,
return capabilities;
}
-
static const char *
fr_command_cpio_get_packages (FrCommand *comm,
const char *mime_type)
@@ -256,7 +248,6 @@ fr_command_cpio_get_packages (FrCommand *comm,
return PACKAGES ("cpio");
}
-
static void
fr_command_cpio_class_init (FrCommandCpioClass *class)
{
@@ -275,7 +266,6 @@ fr_command_cpio_class_init (FrCommandCpioClass *class)
afc->get_packages = fr_command_cpio_get_packages;
}
-
static void
fr_command_cpio_init (FrCommand *comm)
{
@@ -289,7 +279,6 @@ fr_command_cpio_init (FrCommand *comm)
comm->propTest = FALSE;
}
-
static void
fr_command_cpio_finalize (GObject *object)
{
@@ -301,7 +290,6 @@ fr_command_cpio_finalize (GObject *object)
G_OBJECT_CLASS (parent_class)->finalize (object);
}
-
GType
fr_command_cpio_get_type ()
{