nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit ce029f2b112d2ebf17f5d38d6676c44bbafa4b64
parent 1e73bcfe291ef15b18f57cdba159f1ba349b545b
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Wed, 28 Dec 2005 05:01:00 +0000

remove unnecessary #ifdef around termios.h #include in nano.c


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3250 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
MChangeLog | 2++
Msrc/nano.c | 5+----
2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,6 +1,8 @@ CVS code - - General: - Miscellaneous comment fixes. (DLR) + - Remove unnecessary #ifdef around termios.h #include in nano.c. + (DLR) GNU nano 1.3.10 - 2005.12.23 - General: diff --git a/src/nano.c b/src/nano.c @@ -34,15 +34,12 @@ #include <errno.h> #include <ctype.h> #include <locale.h> +#include <termios.h> #ifdef HAVE_GETOPT_H #include <getopt.h> #endif -#ifdef HAVE_TERMIOS_H -#include <termios.h> -#endif - #ifndef NANO_TINY #include <setjmp.h> #endif