qcacmn: Fix -Wmissing-prototypes in Host Transport layer

We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in the Host Transport layer.

Change-Id: Ic9c7f920883f41176d89419de25b7e02df0b895e
CRs-Fixed: 1093231
This commit is contained in:
Jeff Johnson
2016-10-07 13:01:33 -07:00
committed by qcabuildsw
parent 6950fdbedd
commit c66399a1ce
2 changed files with 8 additions and 7 deletions

View File

@@ -342,7 +342,7 @@ void *htc_get_hif_device(HTC_HANDLE HTCHandle)
return target->hif_dev;
}
void htc_control_tx_complete(void *Context, HTC_PACKET *pPacket)
static void htc_control_tx_complete(void *Context, HTC_PACKET *pPacket)
{
HTC_TARGET *target = (HTC_TARGET *) Context;
AR_DEBUG_PRINTF(ATH_DEBUG_TRC,
@@ -394,6 +394,7 @@ htc_setup_epping_credit_allocation(struct hif_opaque_softc *scn,
*
* Return: A_STATUS
*/
static
A_STATUS htc_setup_target_buffer_assignments(HTC_TARGET *target)
{
HTC_SERVICE_TX_CREDIT_ALLOCATION *pEntry;

View File

@@ -751,7 +751,7 @@ static void queue_htc_pm_packets(HTC_ENDPOINT *endpoint,
*
* Return: None
*/
void get_htc_send_packets_credit_based(HTC_TARGET *target,
static void get_htc_send_packets_credit_based(HTC_TARGET *target,
HTC_ENDPOINT *pEndpoint,
HTC_PACKET_QUEUE *pQueue)
{
@@ -888,7 +888,7 @@ void get_htc_send_packets_credit_based(HTC_TARGET *target,
}
void get_htc_send_packets(HTC_TARGET *target,
static void get_htc_send_packets(HTC_TARGET *target,
HTC_ENDPOINT *pEndpoint,
HTC_PACKET_QUEUE *pQueue, int Resources)
{