about summary refs log tree commit diff
path: root/locale/programs
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-04-04 00:19:44 +0000
committerUlrich Drepper <drepper@redhat.com>2001-04-04 00:19:44 +0000
commit194c5f8d0f6da9d84211b479adb58e118f302ae3 (patch)
treedde6de4aa094e01fea84a26bf3c511d12ff2f17a /locale/programs
parentc891b2df087e0219319785c29d3af6042e4ac94f (diff)
downloadglibc-194c5f8d0f6da9d84211b479adb58e118f302ae3.tar.gz
glibc-194c5f8d0f6da9d84211b479adb58e118f302ae3.tar.xz
glibc-194c5f8d0f6da9d84211b479adb58e118f302ae3.zip
Update.
	* iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
	* locale/programs/charmap.c: Define null_pointer if
	NEED_NULL_POINTER is defined.
Diffstat (limited to 'locale/programs')
-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)