mirror of https://github.com/FreeRDP/FreeRDP
Fixed -Wmissing-prototypes
This commit is contained in:
parent
a40ade5abc
commit
7c5652c15a
|
@ -623,7 +623,7 @@ static UINT rdpgfx_recv_evict_cache_entry_pdu(GENERIC_CHANNEL_CALLBACK* callback
|
||||||
*
|
*
|
||||||
* @return 0 on success, otherwise a Win32 error code
|
* @return 0 on success, otherwise a Win32 error code
|
||||||
*/
|
*/
|
||||||
UINT rdpgfx_load_cache_import_offer(RDPGFX_PLUGIN* gfx, RDPGFX_CACHE_IMPORT_OFFER_PDU* offer)
|
static UINT rdpgfx_load_cache_import_offer(RDPGFX_PLUGIN* gfx, RDPGFX_CACHE_IMPORT_OFFER_PDU* offer)
|
||||||
{
|
{
|
||||||
int idx, count;
|
int idx, count;
|
||||||
UINT error = CHANNEL_RC_OK;
|
UINT error = CHANNEL_RC_OK;
|
||||||
|
|
|
@ -122,8 +122,9 @@ BOOL credssp_auth_init(rdpCredsspAuth* auth, TCHAR* pkg_name, SecPkgContext_Bind
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOL credssp_auth_setup_auth_data(rdpCredsspAuth* auth, const SEC_WINNT_AUTH_IDENTITY* identity,
|
static BOOL credssp_auth_setup_auth_data(rdpCredsspAuth* auth,
|
||||||
SEC_WINNT_AUTH_IDENTITY_WINPR* pAuthData)
|
const SEC_WINNT_AUTH_IDENTITY* identity,
|
||||||
|
SEC_WINNT_AUTH_IDENTITY_WINPR* pAuthData)
|
||||||
{
|
{
|
||||||
SEC_WINNT_AUTH_IDENTITY_EXW* identityEx;
|
SEC_WINNT_AUTH_IDENTITY_EXW* identityEx;
|
||||||
|
|
||||||
|
@ -835,7 +836,7 @@ static BOOL credssp_auth_setup_identity(rdpCredsspAuth* auth)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
TCHAR* tcs_strdup_from_char(const char* str)
|
static TCHAR* tcs_strdup_from_char(const char* str)
|
||||||
{
|
{
|
||||||
#ifdef UNICODE
|
#ifdef UNICODE
|
||||||
TCHAR* ret;
|
TCHAR* ret;
|
||||||
|
|
|
@ -705,8 +705,9 @@ size_t WinPrAsn1EncGeneralString(WinPrAsn1Encoder* enc, WinPrAsn1_STRING str)
|
||||||
return WinPrAsn1EncMemoryChunk(enc, ER_TAG_GENERAL_STRING, &chunk);
|
return WinPrAsn1EncMemoryChunk(enc, ER_TAG_GENERAL_STRING, &chunk);
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t WinPrAsn1EncContextualMemoryChunk(WinPrAsn1Encoder* enc, BYTE wireType,
|
static size_t WinPrAsn1EncContextualMemoryChunk(WinPrAsn1Encoder* enc, BYTE wireType,
|
||||||
WinPrAsn1_tagId tagId, const WinPrAsn1_MemoryChunk* mchunk)
|
WinPrAsn1_tagId tagId,
|
||||||
|
const WinPrAsn1_MemoryChunk* mchunk)
|
||||||
{
|
{
|
||||||
wStream s;
|
wStream s;
|
||||||
size_t len, outLen;
|
size_t len, outLen;
|
||||||
|
@ -1339,8 +1340,8 @@ size_t WinPrAsn1DecPeekContextualTag(WinPrAsn1Decoder* dec, WinPrAsn1_tagId* tag
|
||||||
return readContextualTag(dec, &staticS, tagId, ctxtDec);
|
return readContextualTag(dec, &staticS, tagId, ctxtDec);
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t readContextualHeader(WinPrAsn1Decoder* dec, WinPrAsn1_tagId tagId, BOOL* error,
|
static size_t readContextualHeader(WinPrAsn1Decoder* dec, WinPrAsn1_tagId tagId, BOOL* error,
|
||||||
WinPrAsn1Decoder* content)
|
WinPrAsn1Decoder* content)
|
||||||
{
|
{
|
||||||
WinPrAsn1_tag ftag;
|
WinPrAsn1_tag ftag;
|
||||||
size_t ret;
|
size_t ret;
|
||||||
|
|
Loading…
Reference in New Issue