From 24ae56cd4b369452f792200c9a02e655411b619d Mon Sep 17 00:00:00 2001
From: David Lawrence Ramsey <pooka109@gmail.com>
Date: Fri, 27 Feb 2004 03:06:28 +0000
Subject: [PATCH] a few minor cleanups

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1668 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
---
 ChangeLog  | 4 ++++
 src/nano.c | 2 --
 src/nano.h | 6 +++---
 3 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 73f0a01e..242da3a9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -73,6 +73,10 @@ CVS code -
 	- Add more descriptive comments explaining the termios and
 	  curses setup routines, and turn the keypad on before setting
 	  the input mode. (DLR)
+	- Remove stray HAVE_GETOPT_LONG $ifdefs. (DLR)
+- nano.h:
+	- Move the NANO_H include guard up before the first #include.
+	  (DLR)
 - search.c:
   regexp_cleanup()
 	- Only do anything if REGEXP_COMPILED is set. (David Benbennick)
diff --git a/src/nano.c b/src/nano.c
index 2c1832fb..acf4890a 100644
--- a/src/nano.c
+++ b/src/nano.c
@@ -3268,8 +3268,6 @@ int main(int argc, char *argv[])
 #endif
 	case 'p':
 	    SET(PRESERVE);
-#ifdef HAVE_GETOPT_LONG
-#endif
 	    break;
 #ifndef DISABLE_WRAPJUSTIFY
 	case 'r':
diff --git a/src/nano.h b/src/nano.h
index 8287307c..7dd25bef 100644
--- a/src/nano.h
+++ b/src/nano.h
@@ -19,13 +19,13 @@
  *                                                                        *
  **************************************************************************/
 
+#ifndef NANO_H
+#define NANO_H 1
+
 #ifdef HAVE_LIMITS_H
 #include <limits.h>
 #endif
 
-#ifndef NANO_H
-#define NANO_H 1
-
 /* Macros for the flags int... */
 #define SET(bit) flags |= bit
 #define UNSET(bit) flags &= ~bit
-- 
GitLab