Commit cd2cf63a authored by Joe Perches's avatar Joe Perches Committed by David S. Miller

af_rxrpc.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.

Reflow modified prototypes to 80 columns.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b60a8280
...@@ -31,24 +31,21 @@ enum { ...@@ -31,24 +31,21 @@ enum {
typedef void (*rxrpc_interceptor_t)(struct sock *, unsigned long, typedef void (*rxrpc_interceptor_t)(struct sock *, unsigned long,
struct sk_buff *); struct sk_buff *);
extern void rxrpc_kernel_intercept_rx_messages(struct socket *, void rxrpc_kernel_intercept_rx_messages(struct socket *, rxrpc_interceptor_t);
rxrpc_interceptor_t); struct rxrpc_call *rxrpc_kernel_begin_call(struct socket *,
extern struct rxrpc_call *rxrpc_kernel_begin_call(struct socket *, struct sockaddr_rxrpc *,
struct sockaddr_rxrpc *, struct key *,
struct key *, unsigned long,
unsigned long, gfp_t);
gfp_t); int rxrpc_kernel_send_data(struct rxrpc_call *, struct msghdr *, size_t);
extern int rxrpc_kernel_send_data(struct rxrpc_call *, struct msghdr *, void rxrpc_kernel_abort_call(struct rxrpc_call *, u32);
size_t); void rxrpc_kernel_end_call(struct rxrpc_call *);
extern void rxrpc_kernel_abort_call(struct rxrpc_call *, u32); bool rxrpc_kernel_is_data_last(struct sk_buff *);
extern void rxrpc_kernel_end_call(struct rxrpc_call *); u32 rxrpc_kernel_get_abort_code(struct sk_buff *);
extern bool rxrpc_kernel_is_data_last(struct sk_buff *); int rxrpc_kernel_get_error_number(struct sk_buff *);
extern u32 rxrpc_kernel_get_abort_code(struct sk_buff *); void rxrpc_kernel_data_delivered(struct sk_buff *);
extern int rxrpc_kernel_get_error_number(struct sk_buff *); void rxrpc_kernel_free_skb(struct sk_buff *);
extern void rxrpc_kernel_data_delivered(struct sk_buff *); struct rxrpc_call *rxrpc_kernel_accept_call(struct socket *, unsigned long);
extern void rxrpc_kernel_free_skb(struct sk_buff *); int rxrpc_kernel_reject_call(struct socket *);
extern struct rxrpc_call *rxrpc_kernel_accept_call(struct socket *,
unsigned long);
extern int rxrpc_kernel_reject_call(struct socket *);
#endif /* _NET_RXRPC_H */ #endif /* _NET_RXRPC_H */
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