From d9b9f07a096ccd2e94339f7b531e4ef0b9290019 Mon Sep 17 00:00:00 2001 From: Jim Meyering <meyering@redhat.com> Date: Sun, 31 Aug 2008 16:24:24 +0200 Subject: [PATCH] remove duplicate #include directives * lib/putenv.c: Remove duplicate #include <stdlib.h>. * lib/chdir-long.c [TEST_CHDIR]: Remove duplicate #include <stdio.h>. --- ChangeLog | 6 ++++++ lib/chdir-long.c | 3 +-- lib/putenv.c | 1 - 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 55fe08e6f3..99ab461da8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-08-31 Jim Meyering <meyering@redhat.com> + + remove duplicate #include directives + * lib/chdir-long.c [TEST_CHDIR]: Remove duplicate #include <stdio.h>. + * lib/putenv.c: Remove duplicate #include <stdlib.h>. + 2008-08-31 Bruno Haible <bruno@clisp.org> New module 'sigpipe-die'. diff --git a/lib/chdir-long.c b/lib/chdir-long.c index aeae25263b..291b58c289 100644 --- a/lib/chdir-long.c +++ b/lib/chdir-long.c @@ -1,5 +1,5 @@ /* provide a chdir function that tries not to fail due to ENAMETOOLONG - Copyright (C) 2004, 2005, 2006, 2007 Free Software Foundation, Inc. + Copyright (C) 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -205,7 +205,6 @@ chdir_long (char *dir) #if TEST_CHDIR -# include <stdio.h> # include "closeout.h" # include "error.h" diff --git a/lib/putenv.c b/lib/putenv.c index d0573c69f1..cc14b93895 100644 --- a/lib/putenv.c +++ b/lib/putenv.c @@ -31,7 +31,6 @@ # define __set_errno(ev) ((errno) = (ev)) #endif -#include <stdlib.h> #include <string.h> #include <unistd.h> -- 2.30.2