Browse Source

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
Jeff Johnson 8 years ago
parent
commit
8a4fd9bec1
1 changed files with 4 additions and 4 deletions
  1. 4 4
      dp/wifi3.0/dp_rx_err.c

+ 4 - 4
dp/wifi3.0/dp_rx_err.c

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