Author: mordante
Date: Thu Jul 10 08:56:39 2008
New Revision: 27884
URL: http://svn.gna.org/viewcvs/wesnoth?rev=27884&view=rev
Log:
Give an not exported function internal linkage.
Modified:
trunk/src/ai.cpp
Modified: trunk/src/ai.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/ai.cpp?rev=27884&r1=27883&r2=27884&view=diff
==============================================================================
--- trunk/src/ai.cpp (original)
+++ trunk/src/ai.cpp Thu Jul 10 08:56:39 2008
@@ -194,7 +194,7 @@
// They have to end with .py, and have #!WPY as first line.
// If preferences allow for unsafe python AIs, then also look for
// the #!UNSAFE_WPY tag.
-std::vector<std::string> get_available_py_scripts()
+static std::vector<std::string> get_available_py_scripts()
{
int allow_unsafe = !preferences::run_safe_python() ;
std::vector<std::string> scripts;
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits