aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/proc.c')
-rw-r--r--net/ipv4/proc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv4/proc.c b/net/ipv4/proc.c
index 97952d54ae84..a236154591fa 100644
--- a/net/ipv4/proc.c
+++ b/net/ipv4/proc.c
@@ -45,6 +45,7 @@
45#include <net/sock.h> 45#include <net/sock.h>
46#include <net/raw.h> 46#include <net/raw.h>
47 47
48#ifdef CONFIG_PROC_FS
48static int fold_prot_inuse(struct proto *proto) 49static int fold_prot_inuse(struct proto *proto)
49{ 50{
50 int res = 0; 51 int res = 0;
@@ -390,6 +391,7 @@ out_netstat:
390 rc = -ENOMEM; 391 rc = -ENOMEM;
391 goto out; 392 goto out;
392} 393}
394#endif
393 395
394int snmp_mib_init(void *ptr[2], size_t mibsize, size_t mibalign) 396int snmp_mib_init(void *ptr[2], size_t mibsize, size_t mibalign)
395{ 397{