]> git.wh0rd.org Git - nano.git/commitdiff
move macro definition
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Tue, 22 Mar 2005 20:17:38 +0000 (20:17 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Tue, 22 Mar 2005 20:17:38 +0000 (20:17 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2421 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/nano.c
src/nano.h

index 7d611526e7854e125e9225246bed693f020d557d..2a7ccbc134c4994f9099652a1eb2374e33ad3e5d 100644 (file)
@@ -926,6 +926,12 @@ void renumber(filestruct *fileptr)
     }
 }
 
+#ifdef HAVE_GETOPT_LONG
+#define print1opt(shortflag, longflag, desc) print1opt_full(shortflag, longflag, desc)
+#else
+#define print1opt(shortflag, longflag, desc) print1opt_full(shortflag, desc)
+#endif
+
 /* Print one usage string to the screen.  This cuts down on duplicate
  * strings to translate, and leaves out the parts that shouldn't be
  * translatable (the flag names). */
index ba6f2139e58c5f75d7b16c8587ceee3be027b2df..28d5249a0d7a8a16976f23edae7d6ea7b20ba807 100644 (file)
 #define charcpy(dest, src, n) memcpy(dest, src, (n) * sizeof(char))
 
 /* Other macros. */
-#ifdef HAVE_GETOPT_LONG
-#define print1opt(shortflag, longflag, desc) print1opt_full(shortflag, longflag, desc)
-#else
-#define print1opt(shortflag, longflag, desc) print1opt_full(shortflag, desc)
-#endif
-
 #ifdef BROKEN_REGEXEC
 #undef regexec
 #define regexec(preg, string, nmatch, pmatch, eflags) safe_regexec(preg, string, nmatch, pmatch, eflags)