X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fproc%2Finternal.h;h=1820eb2ef7623a2c222e9be9b61d0e749f259187;hb=0a4908e19fd016d60403fc76cf38b2d08d21e2d2;hp=b215c3524fa685c572c874966128241d6747e9dd;hpb=df6d3916f3b7b7e2067567a256dd4f0c1ea854a2;p=linux-2.6 diff --git a/fs/proc/internal.h b/fs/proc/internal.h index b215c3524f..1820eb2ef7 100644 --- a/fs/proc/internal.h +++ b/fs/proc/internal.h @@ -16,6 +16,11 @@ extern int proc_sys_init(void); #else static inline void proc_sys_init(void) { } #endif +#ifdef CONFIG_NET +extern int proc_net_init(void); +#else +static inline int proc_net_init(void) { return 0; } +#endif struct vmalloc_info { unsigned long used;