]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/net/af_unix.h
[IPV6]: make inet6_register_protosw to return an error code
[linux-2.6-omap-h63xx.git] / include / net / af_unix.h
index a1c805d7f488b7295a335c33de66f495cd5d0e37..e0fba269d092234b77f722d39cde870c06fce4ad 100644 (file)
@@ -60,11 +60,11 @@ struct unix_sock {
 
 #ifdef CONFIG_SYSCTL
 extern int sysctl_unix_max_dgram_qlen;
-extern void unix_sysctl_register(void);
-extern void unix_sysctl_unregister(void);
+extern int unix_sysctl_register(struct net *net);
+extern void unix_sysctl_unregister(struct net *net);
 #else
-static inline void unix_sysctl_register(void) {}
-static inline void unix_sysctl_unregister(void) {}
+static inline int unix_sysctl_register(struct net *net) { return 0; }
+static inline void unix_sysctl_unregister(struct net *net) {}
 #endif
 #endif
 #endif