patch-2.1.23 linux/include/linux/tty_ldisc.h

Next file: linux/include/linux/wait.h
Previous file: linux/include/linux/tasks.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.22/linux/include/linux/tty_ldisc.h linux/include/linux/tty_ldisc.h
@@ -119,9 +119,7 @@
 	int	(*ioctl)(struct tty_struct * tty, struct file * file,
 			 unsigned int cmd, unsigned long arg);
 	void	(*set_termios)(struct tty_struct *tty, struct termios * old);
-	int	(*select)(struct tty_struct * tty, struct inode * inode,
-			  struct file * file, int sel_type,
-			  struct select_table_struct *wait);
+	unsigned int (*poll)(struct tty_struct *, struct file *, poll_table *);
 	
 	/*
 	 * The following routines are called from below.

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