Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > media > main-src > by-pkgid > 276c4c69ed5efcebe43ee6121194cf59 > files > 66

kernel22-2.2.20-9mdk.src.rpm

diff -urN linux-2.2.15-clean/drivers/char/tty_ioctl.c linux-2.2.15-patch/drivers/char/tty_ioctl.c
--- linux-2.2.15-clean/drivers/char/tty_ioctl.c	Wed May  3 19:16:39 2000
+++ linux-2.2.15-patch/drivers/char/tty_ioctl.c	Mon Jun 12 15:49:49 2000
@@ -96,7 +96,7 @@
 			old->c_cc[i] : termios->c_cc[i];
 }
 
-static void change_termios(struct tty_struct * tty, struct termios * new_termios)
+void change_termios(struct tty_struct * tty, struct termios * new_termios)
 {
 	int canon_change;
 	struct termios old_termios = *tty->termios;
diff -urN linux-2.2.15-clean/include/linux/tty.h linux-2.2.15-patch/include/linux/tty.h
--- linux-2.2.15-clean/include/linux/tty.h	Wed May  3 19:16:52 2000
+++ linux-2.2.15-patch/include/linux/tty.h	Mon Jun 12 16:04:28 2000
@@ -397,6 +397,7 @@
 /* tty_ioctl.c */
 extern int n_tty_ioctl(struct tty_struct * tty, struct file * file,
 		       unsigned int cmd, unsigned long arg);
+extern void change_termios(struct tty_struct * tty, struct termios * new_termios);
 
 /* serial.c */
 
diff -urN linux-2.2.15-clean/kernel/ksyms.c linux-2.2.15-patch/kernel/ksyms.c
--- linux-2.2.15-clean/kernel/ksyms.c	Wed May  3 19:16:53 2000
+++ linux-2.2.15-patch/kernel/ksyms.c	Mon Jun 12 15:50:29 2000
@@ -247,6 +247,7 @@
 EXPORT_SYMBOL(tty_hung_up_p);
 EXPORT_SYMBOL(tty_flip_buffer_push);
 EXPORT_SYMBOL(tty_get_baud_rate);
+EXPORT_SYMBOL(change_termios);
 EXPORT_SYMBOL(do_SAK);
 EXPORT_SYMBOL(console_print);