Skip to content

Commit a22b8f4

Browse files
JoePerchesdavem330
authored andcommitted
caif_hsi.h: Remove extern from function prototypes
There are a mix of function prototypes with and without extern in the kernel sources. Standardize on not using extern for function prototypes. Function prototypes don't need to be written with extern. extern is assumed by the compiler. Its use is as unnecessary as using auto to declare automatic/local variables in a block. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent e74e58f commit a22b8f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎include/net/caif/caif_hsi.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,6 @@ enum ifla_caif_hsi {
195195
__IFLA_CAIF_HSI_MAX
196196
};
197197

198-
extern struct cfhsi_ops *cfhsi_get_ops(void);
198+
struct cfhsi_ops *cfhsi_get_ops(void);
199199

200200
#endif /* CAIF_HSI_H_ */

0 commit comments

Comments
 (0)