diff options
| author | Raanan Avargil <[email protected]> | 2015-10-01 11:48:53 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-10-05 11:02:59 +0000 |
| commit | 8695a144da9e500a5a60fa34c06694346ec1048f (patch) | |
| tree | bd3b0e2b8200b609c0822be43177ef4f2009e70c /net/unix/af_unix.c | |
| parent | net: lpc_eth: fix warnings caused by enabling unprepared clock (diff) | |
| download | kernel-8695a144da9e500a5a60fa34c06694346ec1048f.tar.gz kernel-8695a144da9e500a5a60fa34c06694346ec1048f.zip | |
tcp/dccp: fix old style declarations
I’m using the compilation flag -Werror=old-style-declaration, which
requires that the “inline” word would come at the beginning of the code
line.
$ make drivers/net/ethernet/intel/e1000e/e1000e.ko
...
include/net/inet_timewait_sock.h:116:1: error: ‘inline’ is not at
beginning of declaration [-Werror=old-style-declaration]
static void inline inet_twsk_schedule(struct inet_timewait_sock *tw, int
timeo)
include/net/inet_timewait_sock.h:121:1: error: ‘inline’ is not at
beginning of declaration [-Werror=old-style-declaration]
static void inline inet_twsk_reschedule(struct inet_timewait_sock *tw,
int timeo)
Fixes: ed2e92394589 ("tcp/dccp: fix timewait races in timer handling")
Signed-off-by: Raanan Avargil <[email protected]>
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
