Author: cazfi
Date: Tue Jan 19 13:55:27 2016
New Revision: 31490

URL: http://svn.gna.org/viewcvs/freeciv?rev=31490&view=rev
Log:
Renamed variable 'index' as 'slindex' in speclist.h inline functions.

See bug #24277

Modified:
    branches/S2_6/utility/speclist.h

Modified: branches/S2_6/utility/speclist.h
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/utility/speclist.h?rev=31490&r1=31489&r2=31490&view=diff
==============================================================================
--- branches/S2_6/utility/speclist.h    (original)
+++ branches/S2_6/utility/speclist.h    Tue Jan 19 13:55:27 2016
@@ -387,10 +387,10 @@
   Return the element at position in the speclist.
 ****************************************************************************/
 static inline SPECLIST_TYPE *
-SPECLIST_FOO(_list_get) (const SPECLIST_LIST *tthis, int index)
+SPECLIST_FOO(_list_get) (const SPECLIST_LIST *tthis, int slindex)
 {
   return ((SPECLIST_TYPE *)
-          genlist_get((const struct genlist *) tthis, index));
+          genlist_get((const struct genlist *) tthis, slindex));
 }
 
 /****************************************************************************
@@ -415,10 +415,10 @@
   Return the element at position in the speclist.
 ****************************************************************************/
 static inline SPECLIST_LINK *
-SPECLIST_FOO(_list_link_get) (const SPECLIST_LIST *tthis, int index)
+SPECLIST_FOO(_list_link_get) (const SPECLIST_LIST *tthis, int slindex)
 {
   return ((SPECLIST_LINK *)
-          genlist_link_get((const struct genlist *) tthis, index));
+          genlist_link_get((const struct genlist *) tthis, slindex));
 }
 
 /****************************************************************************


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

Reply via email to