Author: cazfi
Date: Tue Sep 15 05:40:12 2015
New Revision: 29892

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

Reported by Sveinung Kvilhaugsvik <sveinung>

See bug #23870

Modified:
    branches/S2_5/utility/genlist.h

Modified: branches/S2_5/utility/genlist.h
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/utility/genlist.h?rev=29892&r1=29891&r2=29892&view=diff
==============================================================================
--- branches/S2_5/utility/genlist.h     (original)
+++ branches/S2_5/utility/genlist.h     Tue Sep 15 05:40:12 2015
@@ -107,7 +107,7 @@
 void *genlist_front(const struct genlist *pgenlist);
 void *genlist_back(const struct genlist *pgenlist);
 struct genlist_link *genlist_link(const struct genlist *pgenlist, int idx);
-inline struct genlist_link *genlist_head(const struct genlist *pgenlist)
+inline static struct genlist_link *genlist_head(const struct genlist *pgenlist)
 {
   return (NULL != pgenlist ? pgenlist->head_link : NULL);
 }


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

Reply via email to