patch-2.1.34 linux/drivers/char/selection.c

Next file: linux/drivers/char/tga.c
Previous file: linux/drivers/char/n_tty.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.33/linux/drivers/char/selection.c linux/drivers/char/selection.c
@@ -32,6 +32,8 @@
 /* Don't take this from <ctype.h>: 011-015 on the screen aren't spaces */
 #define isspace(c)	((c) == ' ')
 
+extern void poke_blanked_console(void);
+
 /* Variables for selection control. */
 /* Use a dynamic buffer, instead of static (Dec 1994) */
        int sel_cons = 0;		/* must not be disallocated */
@@ -118,7 +120,7 @@
 	int sel_mode, new_sel_start, new_sel_end, spc;
 	char *bp, *obp;
 	int i, ps, pe;
-	
+
 	do_unblank_screen();
 	poke_blanked_console();
 
@@ -289,7 +291,7 @@
 	int	c = sel_buffer_lth;
 	int	l;
 	struct vt_struct *vt = (struct vt_struct *) tty->driver_data;
-	
+
 	if (!bp || !c)
 		return 0;
 	poke_blanked_console();

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