TNCC: Mark functions static

These are called through function pointers, so no need to make the
function symbols directly available outside this file.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
Jouni Malinen 2016-06-24 01:38:04 +03:00 committed by Jouni Malinen
parent 50a17a76e1
commit ac36b133aa

View file

@ -104,7 +104,7 @@ static struct tnc_if_imc *tnc_imc[TNC_MAX_IMC_ID] = { NULL };
/* TNCC functions that IMCs can call */ /* TNCC functions that IMCs can call */
TNC_Result TNC_TNCC_ReportMessageTypes( static TNC_Result TNC_TNCC_ReportMessageTypes(
TNC_IMCID imcID, TNC_IMCID imcID,
TNC_MessageTypeList supportedTypes, TNC_MessageTypeList supportedTypes,
TNC_UInt32 typeCount) TNC_UInt32 typeCount)
@ -138,7 +138,7 @@ TNC_Result TNC_TNCC_ReportMessageTypes(
} }
TNC_Result TNC_TNCC_SendMessage( static TNC_Result TNC_TNCC_SendMessage(
TNC_IMCID imcID, TNC_IMCID imcID,
TNC_ConnectionID connectionID, TNC_ConnectionID connectionID,
TNC_BufferReference message, TNC_BufferReference message,
@ -183,7 +183,7 @@ TNC_Result TNC_TNCC_SendMessage(
} }
TNC_Result TNC_TNCC_RequestHandshakeRetry( static TNC_Result TNC_TNCC_RequestHandshakeRetry(
TNC_IMCID imcID, TNC_IMCID imcID,
TNC_ConnectionID connectionID, TNC_ConnectionID connectionID,
TNC_RetryReason reason) TNC_RetryReason reason)
@ -203,7 +203,7 @@ TNC_Result TNC_TNCC_RequestHandshakeRetry(
} }
TNC_Result TNC_9048_LogMessage(TNC_IMCID imcID, TNC_UInt32 severity, static TNC_Result TNC_9048_LogMessage(TNC_IMCID imcID, TNC_UInt32 severity,
const char *message) const char *message)
{ {
wpa_printf(MSG_DEBUG, "TNC: TNC_9048_LogMessage(imcID=%lu " wpa_printf(MSG_DEBUG, "TNC: TNC_9048_LogMessage(imcID=%lu "
@ -213,7 +213,8 @@ TNC_Result TNC_9048_LogMessage(TNC_IMCID imcID, TNC_UInt32 severity,
} }
TNC_Result TNC_9048_UserMessage(TNC_IMCID imcID, TNC_ConnectionID connectionID, static TNC_Result TNC_9048_UserMessage(TNC_IMCID imcID,
TNC_ConnectionID connectionID,
const char *message) const char *message)
{ {
wpa_printf(MSG_DEBUG, "TNC: TNC_9048_UserMessage(imcID=%lu " wpa_printf(MSG_DEBUG, "TNC: TNC_9048_UserMessage(imcID=%lu "
@ -223,7 +224,7 @@ TNC_Result TNC_9048_UserMessage(TNC_IMCID imcID, TNC_ConnectionID connectionID,
} }
TNC_Result TNC_TNCC_BindFunction( static TNC_Result TNC_TNCC_BindFunction(
TNC_IMCID imcID, TNC_IMCID imcID,
char *functionName, char *functionName,
void **pOutfunctionPointer) void **pOutfunctionPointer)