patch-2.4.0-test11 linux/include/net/ax25.h

Next file: linux/include/net/dn_nsp.h
Previous file: linux/include/linux/wrapper.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test10/linux/include/net/ax25.h linux/include/net/ax25.h
@@ -159,15 +159,13 @@
 	unsigned short		slave_timeout;		/* when? */
 } ax25_dama_info;
 
-#ifndef _LINUX_SYSCTL_H
-#include <linux/sysctl.h>
-#endif
+struct ctl_table;
 
 typedef struct ax25_dev {
 	struct ax25_dev		*next;
-	struct net_device		*dev;
-	struct net_device		*forward;
-	struct ctl_table	systable[AX25_MAX_VALUES+1];
+	struct net_device	*dev;
+	struct net_device	*forward;
+	struct ctl_table	*systable;
 	int			values[AX25_MAX_VALUES];
 #if defined(CONFIG_AX25_DAMA_SLAVE) || defined(CONFIG_AX25_DAMA_MASTER)
 	ax25_dama_info		dama;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)