Author: cazfi
Date: Thu Nov  3 14:20:52 2016
New Revision: 34355

URL: http://svn.gna.org/viewcvs/freeciv?rev=34355&view=rev
Log:
Made tileset_read_toplevel() static.

See patch #7907

Modified:
    trunk/client/tilespec.c
    trunk/client/tilespec.h

Modified: trunk/client/tilespec.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/tilespec.c?rev=34355&r1=34354&r2=34355&view=diff
==============================================================================
--- trunk/client/tilespec.c     (original)
+++ trunk/client/tilespec.c     Thu Nov  3 14:20:52 2016
@@ -540,6 +540,8 @@
 
 static bool tileset_update = FALSE;
 
+static struct tileset *tileset_read_toplevel(const char *tileset_name,
+                                             bool verbose, int topology_id);
 
 static int fill_unit_type_sprite_array(const struct tileset *t,
                                        struct drawn_sprite *sprs,
@@ -1698,8 +1700,8 @@
   intro files.
   topology_id of -1 means any topology is acceptable.
 ***********************************************************************/
-struct tileset *tileset_read_toplevel(const char *tileset_name, bool verbose,
-                                      int topology_id)
+static struct tileset *tileset_read_toplevel(const char *tileset_name,
+                                             bool verbose, int topology_id)
 {
   struct section_file *file;
   char *fname;

Modified: trunk/client/tilespec.h
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/tilespec.h?rev=34355&r1=34354&r2=34355&view=diff
==============================================================================
--- trunk/client/tilespec.h     (original)
+++ trunk/client/tilespec.h     Thu Nov  3 14:20:52 2016
@@ -209,8 +209,6 @@
 
 void tileset_error(enum log_level level, const char *format, ...);
 
-struct tileset *tileset_read_toplevel(const char *tileset_name, bool verbose,
-                                      int topology_id);
 void tileset_init(struct tileset *t);
 void tileset_free(struct tileset *tileset);
 void tileset_load_tiles(struct tileset *t);


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

Reply via email to