[quake3-commits] r2285 - trunk/code/botlib

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Jun 19 11:56:21 EDT 2012


Author: ztm
Date: 2012-06-19 11:56:21 -0400 (Tue, 19 Jun 2012)
New Revision: 2285

Modified:
   trunk/code/botlib/be_aas_route.c
Log:
static-ize inline functions for Clang/LLVM

>From /dev/humancontroller.

Modified: trunk/code/botlib/be_aas_route.c
===================================================================
--- trunk/code/botlib/be_aas_route.c	2012-06-19 15:52:08 UTC (rev 2284)
+++ trunk/code/botlib/be_aas_route.c	2012-06-19 15:56:21 UTC (rev 2285)
@@ -106,7 +106,7 @@
 // Returns:				-
 // Changes Globals:		-
 //===========================================================================
-ID_INLINE int AAS_ClusterAreaNum(int cluster, int areanum)
+static ID_INLINE int AAS_ClusterAreaNum(int cluster, int areanum)
 {
 	int side, areacluster;
 
@@ -166,7 +166,7 @@
 // Returns:				-
 // Changes Globals:		-
 //===========================================================================
-ID_INLINE int AAS_TravelFlagForType_inline(int traveltype)
+static ID_INLINE int AAS_TravelFlagForType_inline(int traveltype)
 {
 	int tfl;
 
@@ -339,7 +339,7 @@
 // Returns:				-
 // Changes Globals:		-
 //===========================================================================
-ID_INLINE float AAS_RoutingTime(void)
+static ID_INLINE float AAS_RoutingTime(void)
 {
 	return AAS_Time();
 } //end of the function AAS_RoutingTime
@@ -379,7 +379,7 @@
 // Returns:				-
 // Changes Globals:		-
 //===========================================================================
-ID_INLINE int AAS_AreaContentsTravelFlags_inline(int areanum)
+static ID_INLINE int AAS_AreaContentsTravelFlags_inline(int areanum)
 {
 	return aasworld.areacontentstravelflags[areanum];
 } //end of the function AAS_AreaContentsTravelFlags



More information about the quake3-commits mailing list