diff libinterp/interpfcn/input.h @ 16208:ed91ab4d4515

eliminate stdin_is_tty global variable * input.h, input.cc (stdin_is_tty): Delete. * octave.cc (octave_initialize_interpreter): Declare stdin_is_tty as a local variable.
author John W. Eaton <jwe@octave.org>
date Wed, 06 Mar 2013 19:45:53 -0500
parents 0467d68ca891
children e7ff32e7cf82
line wrap: on
line diff
--- a/libinterp/interpfcn/input.h
+++ b/libinterp/interpfcn/input.h
@@ -37,9 +37,6 @@
 
 extern OCTINTERP_API FILE *get_input_from_stdin (void);
 
-// TRUE means that stdin is a terminal, not a pipe or redirected file.
-extern bool stdin_is_tty;
-
 // TRUE means this is an interactive shell.
 extern bool interactive;