[gnome-commander/ConvertWarningsToErrors] Fix for gcc warning about no previous function declaration



commit 7ddd43d5537ab230bcce99330bef632a84e24889
Author: Uwe Scholz <uwescholz src gnome org>
Date:   Tue Apr 18 22:14:11 2017 +0200

    Fix for gcc warning about no previous function declaration

 src/gnome-cmd-about-plugin.cc |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/src/gnome-cmd-about-plugin.cc b/src/gnome-cmd-about-plugin.cc
index fe03039..1cc4a98 100644
--- a/src/gnome-cmd-about-plugin.cc
+++ b/src/gnome-cmd-about-plugin.cc
@@ -701,15 +701,15 @@ static void gnome_cmd_about_plugin_get_property (GObject *object, guint prop_id,
  * @param translator_credits The translator for the current locale.
  * @param webpage The plugins's webpage.
  */
-void gnome_cmd_about_plugin_construct (GnomeCmdAboutPlugin *about,
-                                       const gchar  *name,
-                                       const gchar  *version,
-                                       const gchar  *copyright,
-                                       const gchar  *comments,
-                                       const gchar **authors,
-                                       const gchar **documenters,
-                                       const gchar  *translator_credits,
-                                       const gchar  *webpage)
+static void gnome_cmd_about_plugin_construct (GnomeCmdAboutPlugin *about,
+                                              const gchar  *name,
+                                              const gchar  *version,
+                                              const gchar  *copyright,
+                                              const gchar  *comments,
+                                              const gchar **authors,
+                                              const gchar **documenters,
+                                              const gchar  *translator_credits,
+                                              const gchar  *webpage)
 {
     GArray *authors_array = g_array_new (FALSE, FALSE, sizeof(char*));
     GArray *documenters_array = NULL;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]