qcacmn: Fix -Wmissing-prototypes in dp_rx_err.c

We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code in dp_rx_err.c that is generating warnings.
Fix these warnings by making the following functions static:
	dp_rx_frag_handle()
	dp_rx_pn_error_handle()
	dp_rx_2k_jump_handle()
	dp_rx_null_q_desc_handle()

Change-Id: I45108fff8f69194b28391eebb5e079149ae5cc5a
CRs-Fixed: 1108176
This commit is contained in:
Jeff Johnson 2017-01-05 16:33:40 -08:00 • committed by qcabuildsw
commit 8a4fd9bec1

View file

@ -70,7 +70,7 @@ void *dp_rx_cookie_2_link_desc_va(struct dp_soc *soc,
*
* Return: uint32_t: No. of elements processed
*/
uint32_t
static uint32_t
dp_rx_frag_handle(struct dp_soc *soc, void *ring_desc,
struct hal_rx_mpdu_desc_info *mpdu_desc_info,
union dp_rx_desc_list_elem_t **head,
@ -155,7 +155,7 @@ dp_rx_msdus_drop(struct dp_soc *soc, void *ring_desc,
*
* Return: uint32_t: No. of elements processed
*/
uint32_t
static uint32_t
dp_rx_pn_error_handle(struct dp_soc *soc, void *ring_desc,
struct hal_rx_mpdu_desc_info *mpdu_desc_info,
union dp_rx_desc_list_elem_t **head,
@ -208,7 +208,7 @@ dp_rx_pn_error_handle(struct dp_soc *soc, void *ring_desc,
*
* Return: uint32_t: No. of elements processed
*/
uint32_t
static uint32_t
dp_rx_2k_jump_handle(struct dp_soc *soc, void *ring_desc,
struct hal_rx_mpdu_desc_info *mpdu_desc_info,
union dp_rx_desc_list_elem_t **head,
@ -240,7 +240,7 @@ dp_rx_2k_jump_handle(struct dp_soc *soc, void *ring_desc,
*
* Return: uint32_t: No. of Rx buffers reaped
*/
uint32_t
static uint32_t
dp_rx_null_q_desc_handle(struct dp_soc *soc, void *ring_desc,
union dp_rx_desc_list_elem_t **head,
union dp_rx_desc_list_elem_t **tail,