diff options
Diffstat (limited to 'include/net/af_unix.h')
-rw-r--r-- | include/net/af_unix.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/net/af_unix.h b/include/net/af_unix.h index a1c805d7f488..e0fba269d092 100644 --- a/include/net/af_unix.h +++ b/include/net/af_unix.h | |||
@@ -60,11 +60,11 @@ struct unix_sock { | |||
60 | 60 | ||
61 | #ifdef CONFIG_SYSCTL | 61 | #ifdef CONFIG_SYSCTL |
62 | extern int sysctl_unix_max_dgram_qlen; | 62 | extern int sysctl_unix_max_dgram_qlen; |
63 | extern void unix_sysctl_register(void); | 63 | extern int unix_sysctl_register(struct net *net); |
64 | extern void unix_sysctl_unregister(void); | 64 | extern void unix_sysctl_unregister(struct net *net); |
65 | #else | 65 | #else |
66 | static inline void unix_sysctl_register(void) {} | 66 | static inline int unix_sysctl_register(struct net *net) { return 0; } |
67 | static inline void unix_sysctl_unregister(void) {} | 67 | static inline void unix_sysctl_unregister(struct net *net) {} |
68 | #endif | 68 | #endif |
69 | #endif | 69 | #endif |
70 | #endif | 70 | #endif |