summaryrefslogtreecommitdiff
path: root/src/fr-init.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-11-22 23:03:45 +0100
committerinfirit <[email protected]>2014-11-22 23:03:45 +0100
commit4a0f31e50b9a3703bde65a3ecd681058d4ab0e93 (patch)
tree0ff25c3eb7d4a622d2b9db0273adce4339de2766 /src/fr-init.c
parent246d3cdb024f50f27fb938f143936ace5337cf05 (diff)
downloadengrampa-4a0f31e50b9a3703bde65a3ecd681058d4ab0e93.tar.bz2
engrampa-4a0f31e50b9a3703bde65a3ecd681058d4ab0e93.tar.xz
fixed missing prototype warning
From FR commit: fe3e6aa60ff370fb21475cf621fd86ad78c9303a From: Paolo Bacchilega <[email protected]>
Diffstat (limited to 'src/fr-init.c')
-rw-r--r--src/fr-init.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/fr-init.c b/src/fr-init.c
index cf567a1..acc8b44 100644
--- a/src/fr-init.c
+++ b/src/fr-init.c
@@ -204,7 +204,7 @@ migrate_options_directory (void)
/* -- FrRegisteredCommand -- */
-FrRegisteredCommand *
+static FrRegisteredCommand *
fr_registered_command_new (GType command_type)
{
FrRegisteredCommand *reg_com;
@@ -245,14 +245,14 @@ fr_registered_command_new (GType command_type)
}
-void
+G_GNUC_UNUSED static void
fr_registered_command_ref (FrRegisteredCommand *reg_com)
{
reg_com->ref++;
}
-void
+static void
fr_registered_command_unref (FrRegisteredCommand *reg_com)
{
if (--(reg_com->ref) != 0)
@@ -264,7 +264,7 @@ fr_registered_command_unref (FrRegisteredCommand *reg_com)
}
-FrCommandCaps
+static FrCommandCaps
fr_registered_command_get_capabilities (FrRegisteredCommand *reg_com,
const char *mime_type)
{
@@ -282,7 +282,7 @@ fr_registered_command_get_capabilities (FrRegisteredCommand *reg_com,
}
-FrCommandCaps
+static FrCommandCaps
fr_registered_command_get_potential_capabilities (FrRegisteredCommand *reg_com,
const char *mime_type)
{
@@ -303,7 +303,7 @@ fr_registered_command_get_potential_capabilities (FrRegisteredCommand *reg_com,
}
-void
+static void
register_command (GType command_type)
{
if (Registered_Commands == NULL)
@@ -312,7 +312,7 @@ register_command (GType command_type)
}
-gboolean
+G_GNUC_UNUSED static gboolean
unregister_command (GType command_type)
{
int i;