diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-08-22 06:09:34 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-08-22 06:09:34 +0000 |
commit | fd292f70c098f85324b051661c7cd1e5015e0fe1 (patch) | |
tree | 6677c7ca91d26a45379fdd56bcb954fc52f367df | |
parent | c086e2d210bead1d0abbfa5cea61bf6aa4c9f4c0 (diff) | |
download | glibc-fd292f70c098f85324b051661c7cd1e5015e0fe1.tar glibc-fd292f70c098f85324b051661c7cd1e5015e0fe1.tar.gz glibc-fd292f70c098f85324b051661c7cd1e5015e0fe1.tar.bz2 glibc-fd292f70c098f85324b051661c7cd1e5015e0fe1.zip |
Update.
1999-08-21 Ulrich Drepper <drepper@cygnus.com>
* stdlib/fmtmsg.h: Don't define NULL to keep namespace clean.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | stdlib/fmtmsg.h | 13 |
2 files changed, 9 insertions, 8 deletions
@@ -1,3 +1,7 @@ +1999-08-21 Ulrich Drepper <drepper@cygnus.com> + + * stdlib/fmtmsg.h: Don't define NULL to keep namespace clean. + 1999-08-20 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/execve.c: Define weak alias execve. diff --git a/stdlib/fmtmsg.h b/stdlib/fmtmsg.h index b87644f0ee..56139b9a25 100644 --- a/stdlib/fmtmsg.h +++ b/stdlib/fmtmsg.h @@ -1,5 +1,5 @@ /* Message display handling. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 1999 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'. */ |