Commit 95f7f151 authored by Joe Perches's avatar Joe Perches

ti: 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: default avatarJoe Perches <joe@perches.com>
parent d6cc64ef
...@@ -127,8 +127,8 @@ struct cpts { ...@@ -127,8 +127,8 @@ struct cpts {
}; };
#ifdef CONFIG_TI_CPTS #ifdef CONFIG_TI_CPTS
extern void cpts_rx_timestamp(struct cpts *cpts, struct sk_buff *skb); void cpts_rx_timestamp(struct cpts *cpts, struct sk_buff *skb);
extern void cpts_tx_timestamp(struct cpts *cpts, struct sk_buff *skb); void cpts_tx_timestamp(struct cpts *cpts, struct sk_buff *skb);
#else #else
static inline void cpts_rx_timestamp(struct cpts *cpts, struct sk_buff *skb) static inline void cpts_rx_timestamp(struct cpts *cpts, struct sk_buff *skb)
{ {
...@@ -138,8 +138,7 @@ static inline void cpts_tx_timestamp(struct cpts *cpts, struct sk_buff *skb) ...@@ -138,8 +138,7 @@ static inline void cpts_tx_timestamp(struct cpts *cpts, struct sk_buff *skb)
} }
#endif #endif
extern int cpts_register(struct device *dev, struct cpts *cpts, int cpts_register(struct device *dev, struct cpts *cpts, u32 mult, u32 shift);
u32 mult, u32 shift); void cpts_unregister(struct cpts *cpts);
extern void cpts_unregister(struct cpts *cpts);
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment