SF.net SVN: geany-plugins:[1649] trunk/geany-plugins/geanyvc/src

frlan at users.sourceforge.net frlan at xxxxx
Sun Oct 10 16:56:41 UTC 2010


Revision: 1649
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1649&view=rev
Author:   frlan
Date:     2010-10-10 16:56:41 +0000 (Sun, 10 Oct 2010)

Log Message:
-----------
GeanyVC: Fix some compiler warnings about no previous prototypes

Modified Paths:
--------------
    trunk/geany-plugins/geanyvc/src/externdiff.c
    trunk/geany-plugins/geanyvc/src/geanyvc.h
    trunk/geany-plugins/geanyvc/src/utils.c

Added Paths:
-----------
    trunk/geany-plugins/geanyvc/src/utils.h

Modified: trunk/geany-plugins/geanyvc/src/externdiff.c
===================================================================
--- trunk/geany-plugins/geanyvc/src/externdiff.c	2010-10-10 09:30:22 UTC (rev 1648)
+++ trunk/geany-plugins/geanyvc/src/externdiff.c	2010-10-10 16:56:41 UTC (rev 1649)
@@ -25,6 +25,9 @@
 
 extern GeanyFunctions *geany_functions;
 
+const gchar *get_external_diff_viewer(void);
+
+
 enum
 {
 	EXTERNAL_DIFF_MELD,

Modified: trunk/geany-plugins/geanyvc/src/geanyvc.h
===================================================================
--- trunk/geany-plugins/geanyvc/src/geanyvc.h	2010-10-10 09:30:22 UTC (rev 1648)
+++ trunk/geany-plugins/geanyvc/src/geanyvc.h	2010-10-10 16:56:41 UTC (rev 1649)
@@ -1,5 +1,5 @@
 /*
- *      Copyright 2007-2009 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
+ *      Copyright 2007-2010 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
  *      Copyright 2007-2009 Enrico Tröger <enrico.troeger at uvena.de>
  *      Copyright 2007 Nick Treleaven <nick.treleaven at btinternet.com>
  *      Copyright 2007-2009 Yura Siamashka <yurand2 at gmail.com>

Modified: trunk/geany-plugins/geanyvc/src/utils.c
===================================================================
--- trunk/geany-plugins/geanyvc/src/utils.c	2010-10-10 09:30:22 UTC (rev 1648)
+++ trunk/geany-plugins/geanyvc/src/utils.c	2010-10-10 16:56:41 UTC (rev 1649)
@@ -20,6 +20,7 @@
 #include <glib.h>
 
 #include "geanyplugin.h"
+#include "utils.h"
 
 extern GeanyData *geany_data;
 extern GeanyFunctions *geany_functions;

Added: trunk/geany-plugins/geanyvc/src/utils.h
===================================================================
--- trunk/geany-plugins/geanyvc/src/utils.h	                        (rev 0)
+++ trunk/geany-plugins/geanyvc/src/utils.h	2010-10-10 16:56:41 UTC (rev 1649)
@@ -0,0 +1,27 @@
+/*
+ *
+ *  Copyright 2008 Yura Siamashka <yurand2 at gmail.com>
+ *  Copyright 2010 Frank Lanitz <frank at frank.uvena.de>
+ * 
+ *  This program is free software: you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation, either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef __GEANYVC_UTILS__
+#define __GEANYVC_UTILS__
+
+gchar *normpath(const gchar * filename);
+gchar *get_full_path(const gchar * location, const gchar * path);
+gchar *get_relative_path(const gchar * location, const gchar * path);
+
+#endif


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Plugins-Commits mailing list