diff --git a/src/global.c b/src/global.c
index b61321a7410e7ae0a4d2d3dc13d69e3ce4c31404..606dc3c9d5afe078da440ec4892a8d86d258daee 100644
--- a/src/global.c
+++ b/src/global.c
@@ -51,11 +51,6 @@ int margin = 0;
 int editwincols = -1;
 	/* The number of usable columns in the edit window: COLS - margin. */
 
-#ifdef ENABLE_COLOR
-bool have_palette = FALSE;
-	/* Whether the colors for the current syntax have been initialized. */
-#endif
-
 bool suppress_cursorpos = FALSE;
 	/* Should we skip constant position display for current keystroke? */
 
@@ -184,6 +179,8 @@ syntaxtype *syntaxes = NULL;
 	/* The global list of color syntaxes. */
 char *syntaxstr = NULL;
 	/* The color syntax name specified on the command line. */
+bool have_palette = FALSE;
+	/* Whether the colors for the current syntax have been initialized. */
 #endif
 
 bool refresh_needed = FALSE;
diff --git a/src/history.c b/src/history.c
index 9c36d65e0de7f25750751922c2349248557d3aab..de0a648a0bd0d3904427451e67c3cc62634db643 100644
--- a/src/history.c
+++ b/src/history.c
@@ -326,7 +326,6 @@ void load_history(void)
 		history = &replace_history;
 	   else
 		history = &execute_history;
-
 	}
 
 	fclose(hisfile);
diff --git a/src/proto.h b/src/proto.h
index d0399bba1e8e8419ffb42cc9c17111838947d06f..9e9b04de82a5a380f73ab5709a9270f6f37bf689 100644
--- a/src/proto.h
+++ b/src/proto.h
@@ -43,10 +43,6 @@ extern bool as_an_at;
 extern int margin;
 extern int editwincols;
 
-#ifdef ENABLE_COLOR
-extern bool have_palette;
-#endif
-
 extern bool suppress_cursorpos;
 
 extern message_type lastmessage;
@@ -106,9 +102,6 @@ extern openfilestruct *firstfile;
 
 #ifndef NANO_TINY
 extern char *matchbrackets;
-#endif
-
-#ifndef NANO_TINY
 extern char *whitespace;
 extern int whitespace_len[2];
 #endif
@@ -124,7 +117,7 @@ extern char *quotestr;
 extern regex_t quotereg;
 extern int quoterc;
 extern char *quoteerr;
-#endif /* !ENABLE_JUSTIFY */
+#endif
 
 extern char *word_chars;
 
@@ -148,6 +141,7 @@ extern char *alt_speller;
 #ifdef ENABLE_COLOR
 extern syntaxtype *syntaxes;
 extern char *syntaxstr;
+extern bool have_palette;
 #endif
 
 extern bool refresh_needed;