request_sock.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>
This commit is contained in:
parent
0ad6ad9461
commit
c0f4502a87
|
@ -43,7 +43,7 @@ struct request_sock_ops {
|
||||||
struct request_sock *req);
|
struct request_sock *req);
|
||||||
};
|
};
|
||||||
|
|
||||||
extern int inet_rtx_syn_ack(struct sock *parent, struct request_sock *req);
|
int inet_rtx_syn_ack(struct sock *parent, struct request_sock *req);
|
||||||
|
|
||||||
/* struct request_sock - mini sock to represent a connection request
|
/* struct request_sock - mini sock to represent a connection request
|
||||||
*/
|
*/
|
||||||
|
@ -162,13 +162,13 @@ struct request_sock_queue {
|
||||||
*/
|
*/
|
||||||
};
|
};
|
||||||
|
|
||||||
extern int reqsk_queue_alloc(struct request_sock_queue *queue,
|
int reqsk_queue_alloc(struct request_sock_queue *queue,
|
||||||
unsigned int nr_table_entries);
|
unsigned int nr_table_entries);
|
||||||
|
|
||||||
extern void __reqsk_queue_destroy(struct request_sock_queue *queue);
|
void __reqsk_queue_destroy(struct request_sock_queue *queue);
|
||||||
extern void reqsk_queue_destroy(struct request_sock_queue *queue);
|
void reqsk_queue_destroy(struct request_sock_queue *queue);
|
||||||
extern void reqsk_fastopen_remove(struct sock *sk,
|
void reqsk_fastopen_remove(struct sock *sk, struct request_sock *req,
|
||||||
struct request_sock *req, bool reset);
|
bool reset);
|
||||||
|
|
||||||
static inline struct request_sock *
|
static inline struct request_sock *
|
||||||
reqsk_queue_yank_acceptq(struct request_sock_queue *queue)
|
reqsk_queue_yank_acceptq(struct request_sock_queue *queue)
|
||||||
|
|
Loading…
Reference in a new issue