From 68b3b0922be4bd9df5df3dd830c14da1d4a6a154 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Tue, 19 Jun 2012 15:56:21 +0000 Subject: [PATCH] static-ize inline functions for Clang/LLVM From /dev/humancontroller. --- code/botlib/be_aas_route.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/botlib/be_aas_route.c b/code/botlib/be_aas_route.c index 225b291e..5e365973 100644 --- a/code/botlib/be_aas_route.c +++ b/code/botlib/be_aas_route.c @@ -106,7 +106,7 @@ void AAS_RoutingInfo(void) // 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 @@ void AAS_InitTravelFlagFromType(void) // 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 @@ int AAS_EnableRoutingArea(int areanum, int enable) // 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 @@ int AAS_GetAreaContentsTravelFlags(int areanum) // 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