patch-2.1.23 linux/net/netbeui/netbeui.c

Next file: linux/net/netlink.c
Previous file: linux/net/ipx/af_ipx.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.22/linux/net/netbeui/netbeui.c linux/net/netbeui/netbeui.c
@@ -23,6 +23,7 @@
 #include <linux/if_arp.h>
 #include <linux/skbuff.h>
 #include <linux/termios.h>	/* For TIOCOUTQ/INQ */
+#include <linux/poll.h>
 #include <net/datalink.h>
 #include <net/p8022.h>
 #include <net/psnap.h>
@@ -711,11 +712,11 @@
 	return -EOPNOTSUPP;
 }
 
-static int netbeui_select(struct socket *sock , int sel_type, select_table *wait)
+static int netbeui_poll(struct socket *sock, poll_table *wait)
 {
 	netbeui_socket *sk=(netbeui_socket *)sock->data;
 
-	return datagram_select(sk,sel_type,wait);
+	return datagram_poll(sk,wait);
 }
 
 /*
@@ -810,7 +811,7 @@
 	netbeui_socketpair,
 	netbeui_accept,
 	netbeui_getname,
-	netbeui_select,
+	netbeui_poll,
 	netbeui_ioctl,
 	netbeui_listen,
 	netbeui_shutdown,

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov