diff options
Diffstat (limited to 'readline/examples/excallback.c')
-rw-r--r-- | readline/examples/excallback.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/readline/examples/excallback.c b/readline/examples/excallback.c index 4206acf..385492b 100644 --- a/readline/examples/excallback.c +++ b/readline/examples/excallback.c @@ -40,14 +40,13 @@ Copyright (C) 1999 Jeff Solomon #include <config.h> #endif +#include <stdio.h> #include <sys/types.h> #ifdef HAVE_UNISTD_H #include <unistd.h> #endif -#include <stdlib.h> -#include <stdio.h> #include <termios.h> /* xxx - should make this more general */ #ifdef READLINE_LIBRARY @@ -56,10 +55,6 @@ Copyright (C) 1999 Jeff Solomon # include <readline/readline.h> #endif -#ifndef STDIN_FILENO -# define STDIN_FILENO 0 -#endif - /* This little examples demonstrates the alternate interface to using readline. * In the alternate interface, the user maintains control over program flow and * only calls readline when STDIN is readable. Using the alternate interface, |