Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Staging: bcm: PHSModule.c: Matching the function definition with function declaration

The function implementations of the PHSModule didn't match with the declaration. The functions are static
in the declaration but in the implemntation they are non-static

Signed-off-by: Shalin Mehta <shalinmehta85@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Shalin Mehta and committed by
Greg Kroah-Hartman
f2be6354 8e344c88

+6 -6
+6 -6
drivers/staging/bcm/PHSModule.c
··· 596 596 * 0 if successful, 597 597 * >0 Error. 598 598 */ 599 - ULONG PhsCompress(IN void *pvContext, 599 + static ULONG PhsCompress(IN void *pvContext, 600 600 IN B_UINT16 uiVcid, 601 601 IN B_UINT16 uiClsId, 602 602 IN void *pvInputBuffer, ··· 677 677 * 0 if successful, 678 678 * >0 Error. 679 679 */ 680 - ULONG PhsDeCompress(IN void *pvContext, 680 + static ULONG PhsDeCompress(IN void *pvContext, 681 681 IN B_UINT16 uiVcid, 682 682 IN void *pvInputBuffer, 683 683 OUT void *pvOutputBuffer, ··· 829 829 return PHS_INVALID_TABLE_INDEX; 830 830 } 831 831 832 - UINT GetClassifierEntry(IN struct bcm_phs_classifier_table *pstClassifierTable, 832 + static UINT GetClassifierEntry(IN struct bcm_phs_classifier_table *pstClassifierTable, 833 833 IN B_UINT32 uiClsid, enum bcm_phs_classifier_context eClsContext, 834 834 OUT struct bcm_phs_classifier_entry **ppstClassifierEntry) 835 835 { ··· 880 880 return PHS_INVALID_TABLE_INDEX; 881 881 } 882 882 883 - UINT CreateSFToClassifierRuleMapping(IN B_UINT16 uiVcid, IN B_UINT16 uiClsId, 883 + static UINT CreateSFToClassifierRuleMapping(IN B_UINT16 uiVcid, IN B_UINT16 uiClsId, 884 884 IN struct bcm_phs_table *psServiceFlowTable, 885 885 struct bcm_phs_rule *psPhsRule, 886 886 B_UINT8 u8AssociatedPHSI) ··· 913 913 return uiStatus; 914 914 } 915 915 916 - UINT CreateClassiferToPHSRuleMapping(IN B_UINT16 uiVcid, 916 + static UINT CreateClassiferToPHSRuleMapping(IN B_UINT16 uiVcid, 917 917 IN B_UINT16 uiClsId, 918 918 IN struct bcm_phs_entry *pstServiceFlowEntry, 919 919 struct bcm_phs_rule *psPhsRule, ··· 1239 1239 * header. 1240 1240 * 0 -If PHS rule is NULL.If PHSI is 0 indicateing packet as uncompressed. 1241 1241 */ 1242 - int phs_decompress(unsigned char *in_buf, 1242 + static int phs_decompress(unsigned char *in_buf, 1243 1243 unsigned char *out_buf, 1244 1244 struct bcm_phs_rule *decomp_phs_rules, 1245 1245 UINT *header_size)