Skip to contentSkip to conversation

net: static declaration of net_secret_init() follows non-static

PATCH New Sergey Senozhatsky 1 participant 1 message Oct 7, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: static declaration of net_secret_init() follows non-static

Fix secure_seq build error

net/core/secure_seq.c:17:13: error: static declaration of ‘net_secret_init’ follows non-static declaration
static void net_secret_init(void)

In file included from net/core/secure_seq.c:11:0:
include/net/secure_seq.h:6:6: note: previous declaration of ‘net_secret_init’ was here
void net_secret_init(void);

---

 include/net/secure_seq.h | 1 -
 1 file changed, 1 deletion(-)
include/net/secure_seq.h +0 -1
index 52c1a90..f257486 100644
@@ -3,7 +3,6 @@
 
 #include <linux/types.h>
 
-void net_secret_init(void);
 __u32 secure_ip_id(__be32 daddr);
 __u32 secure_ipv6_id(const __be32 daddr[4]);
 u32 secure_ipv4_port_ephemeral(__be32 saddr, __be32 daddr, __be16 dport);