summary refs log tree commit diff
path: root/locale
diff options
context:
space:
mode:
Diffstat (limited to 'locale')
-rw-r--r--locale/programs/charmap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/locale/programs/charmap.c b/locale/programs/charmap.c
index 14cb4f4089..35a6987fbc 100644
--- a/locale/programs/charmap.c
+++ b/locale/programs/charmap.c
@@ -56,7 +56,9 @@ static void charmap_new_char (struct linereader *lr, struct charmap_t *cm,
 			      const char *to, int decimal_ellipsis, int step);
 
 
+#ifdef NEED_NULL_POINTER
 static const char *null_pointer;
+#endif
 
 static struct linereader *
 cmlr_open (const char *directory, const char *name, kw_hash_fct_t hf)