This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Some more patches for NULL change



With Uli's recent change to dlfcn.h, we don't have NULL anymore in some headers
- but now the current CVS version of glibc doesn't compile anymore
:-(.

Besides my patch iconv/gconv.c (sent already) the following patches
are needed.

Andreas

2000-02-23  Andreas Jaeger  <aj@suse.de>

	* dlfcn/dlopen.c: Include <stddef.h> for NULL.
	* dlfcn/dlsym.c: Likewise.
	* dlfcn/dlvsym.c: Likewise.

============================================================
Index: dlfcn/dlopen.c
--- dlfcn/dlopen.c	1999/07/07 18:26:16	1.1
+++ dlfcn/dlopen.c	2000/02/23 08:56:16
@@ -18,6 +18,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <dlfcn.h>
+#include <stddef.h>
 
 struct dlopen_args
 {
============================================================
Index: dlfcn/dlsym.c
--- dlfcn/dlsym.c	1999/07/07 18:26:40	1.1
+++ dlfcn/dlsym.c	2000/02/23 08:56:16
@@ -18,6 +18,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <dlfcn.h>
+#include <stddef.h>
 
 struct dlsym_args
 {
============================================================
Index: dlfcn/dlvsym.c
--- dlfcn/dlvsym.c	1999/07/07 18:26:55	1.1
+++ dlfcn/dlvsym.c	2000/02/23 08:56:16
@@ -18,6 +18,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <dlfcn.h>
+#include <stddef.h>
 
 struct dlvsym_args
 {

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.rhein-neckar.de

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]