From d8ac4091605cafeed429956439b3365036470356 Mon Sep 17 00:00:00 2001 From: phk Date: Thu, 18 Sep 1997 14:08:40 +0000 Subject: Many places in the code NULL is used in integer context, where plain 0 should be used. This happens to work because we #define NULL to 0, but is stylistically wrong and can cause problems for people trying to port bits of code to other environments. PR: 2752 Submitted by: Arne Henrik Juul --- libexec/rtld-aout/rtld.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libexec/rtld-aout') diff --git a/libexec/rtld-aout/rtld.c b/libexec/rtld-aout/rtld.c index 452e6ff..e3debe5 100644 --- a/libexec/rtld-aout/rtld.c +++ b/libexec/rtld-aout/rtld.c @@ -27,7 +27,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: rtld.c,v 1.47 1997/08/02 04:56:44 jdp Exp $ + * $Id: rtld.c,v 1.48 1997/08/19 23:33:45 nate Exp $ */ #include @@ -2117,7 +2117,7 @@ struct env_scan_tab { L("LD_BIND_NOW=", 0, &ld_bind_now) L("LD_SUPPRESS_WARNINGS=", 0, &ld_suppress_warnings) L("LD_WARN_NON_PURE_CODE=", 0, &ld_warn_non_pure_code) - { NULL, 0, NULL } + { NULL, 0, 0, NULL } }; #undef L -- cgit v1.1