]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(MM_NULL*): Don't use NULL.
authorUlrich Drepper <drepper@redhat.com>
Wed, 23 Feb 2000 05:42:13 +0000 (05:42 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 23 Feb 2000 05:42:13 +0000 (05:42 +0000)
stdlib/fmtmsg.h

index b87644f0ee88c4d8b33d85c18d224bbec262bf35..e8cf2bf977270c46254dd1d7ac6e7524b4b24203 100644 (file)
@@ -1,5 +1,5 @@
 /* Message display handling.
-   Copyright (C) 1997 Free Software Foundation, Inc.
+   Copyright (C) 1997, 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -22,9 +22,6 @@
 
 #include <features.h>
 
-#define __need_NULL
-#include <stddef.h>
-
 
 __BEGIN_DECLS
 
@@ -71,12 +68,12 @@ enum
 
 
 /* Macros which can be used as null values for the arguments of `fmtmsg'.  */
-#define MM_NULLLBL     NULL
+#define MM_NULLLBL     ((char *) 0)
 #define MM_NULLSEV     0
 #define MM_NULLMC      ((long int) 0)
-#define MM_NULLTXT     NULL
-#define MM_NULLACT     NULL
-#define MM_NULLTAG     NULL
+#define MM_NULLTXT     ((char *) 0)
+#define MM_NULLACT     ((char *) 0)
+#define MM_NULLTAG     ((char *) 0)
 
 
 /* Possible return values of `fmtmsg'.  */