git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
net
/
appletalk
/
sysctl_net_atalk.c
diff --git
a/net/appletalk/sysctl_net_atalk.c
b/net/appletalk/sysctl_net_atalk.c
index
25b33f6
..
40b0af7
100644
(file)
--- a/
net/appletalk/sysctl_net_atalk.c
+++ b/
net/appletalk/sysctl_net_atalk.c
@@
-6,14
+6,9
@@
* Dynamic registration, added aarp entries. (5/30/97 Chris Horn)
*/
* Dynamic registration, added aarp entries. (5/30/97 Chris Horn)
*/
-#include <linux/config.h>
-
-#ifdef CONFIG_SYSCTL
#include <linux/sysctl.h>
#include <linux/sysctl.h>
-extern int sysctl_aarp_expiry_time;
-extern int sysctl_aarp_tick_time;
-extern int sysctl_aarp_retransmit_limit;
-extern int sysctl_aarp_resolve_time;
+#include <net/sock.h>
+#include <linux/atalk.h>
static struct ctl_table atalk_table[] = {
{
static struct ctl_table atalk_table[] = {
{
@@
-85,13
+80,3
@@
void atalk_unregister_sysctl(void)
{
unregister_sysctl_table(atalk_table_header);
}
{
unregister_sysctl_table(atalk_table_header);
}
-
-#else /* CONFIG_PROC_FS */
-void atalk_register_sysctl(void)
-{
-}
-
-void atalk_unregister_sysctl(void)
-{
-}
-#endif /* CONFIG_PROC_FS */