From: Ulrich Drepper Date: Wed, 23 Feb 2000 05:39:58 +0000 (+0000) Subject: (RTLD_DEFAULT): Don't use NULL. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=183465df1e865b9e6c270a3e60748d0a09c25460;p=thirdparty%2Fglibc.git (RTLD_DEFAULT): Don't use NULL. --- diff --git a/elf/dlfcn.h b/elf/dlfcn.h index 76fdc3c1c95..998350baa19 100644 --- a/elf/dlfcn.h +++ b/elf/dlfcn.h @@ -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 -#define __need_NULL -#include /* Collect various system dependent definitions and declarations. */ #include @@ -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