]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(RTLD_DEFAULT): Don't use NULL.
authorUlrich Drepper <drepper@redhat.com>
Wed, 23 Feb 2000 05:39:58 +0000 (05:39 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 23 Feb 2000 05:39:58 +0000 (05:39 +0000)
elf/dlfcn.h

index 76fdc3c1c95e13ede145a6818f876eaa715ec02e..998350baa19d9494f6a1510fe5c453e5ca2684ac 100644 (file)
@@ -1,5 +1,5 @@
 /* User functions for run-time dynamic loading.
-   Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+   Copyright (C) 1995-1999, 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
@@ -21,8 +21,6 @@
 #define        _DLFCN_H 1
 
 #include <features.h>
-#define __need_NULL
-#include <stddef.h>
 
 /* Collect various system dependent definitions and declarations.  */
 #include <bits/dlfcn.h>
@@ -36,7 +34,7 @@
 /* If the first argument to `dlsym' or `dlvsym' is set to RTLD_DEFAULT
    the run-time address of the symbol called NAME in the global scope
    is returned.  */
-#define RTLD_DEFAULT   NULL
+#define RTLD_DEFAULT   ((void *) 0)
 
 __BEGIN_DECLS