static-ize inline functions for Clang/LLVM

From /dev/humancontroller.
This commit is contained in:
Zack Middleton 2012-06-19 15:56:21 +00:00
parent afa607c3b6
commit 68b3b0922b

View file

@ -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