Author: cazfi
Date: Mon Apr 20 02:09:08 2015
New Revision: 28815

URL: http://svn.gna.org/viewcvs/freeciv?rev=28815&view=rev
Log:
Synced freeciv's included copy of cvercmp with cvercmp-1.0.3.
- Do not use an enum before it's defined.

See patch #6012

Modified:
    branches/S2_6/dependencies/cvercmp/cvercmp.c

Modified: branches/S2_6/dependencies/cvercmp/cvercmp.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/dependencies/cvercmp/cvercmp.c?rev=28815&r1=28814&r2=28815&view=diff
==============================================================================
--- branches/S2_6/dependencies/cvercmp/cvercmp.c        (original)
+++ branches/S2_6/dependencies/cvercmp/cvercmp.c        Mon Apr 20 02:09:08 2015
@@ -1,6 +1,6 @@
 /********************************************************
 *                                                       *
-* (c) 2011-2013 Marko Lindqvist                         *
+* (c) 2011-2015 Marko Lindqvist                         *
 *                                                       *
 * Licensed under Gnu General Public License version 2   *
 *                                                       *
@@ -22,8 +22,6 @@
 static int cvercmp_next_token(const char *str);
 static char **cvercmp_ver_subtokenize(const char *ver);
 static int cvercmp_next_subtoken(const char *str);
-
-static enum cvercmp_prever cvercmp_parse_prever(const char *ver);
 
 enum cvercmp_prever
 {
@@ -51,6 +49,8 @@
   { "rc", CVERCMP_PRE_RC },
   { NULL, CVERCMP_PRE_NONE }
 };
+
+static enum cvercmp_prever cvercmp_parse_prever(const char *ver);
 
 bool cvercmp(const char *ver1, const char *ver2, enum cvercmp_type type)
 {


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to