remove duplicate #include directives
authorJim Meyering <meyering@redhat.com>
Sun, 31 Aug 2008 14:24:24 +0000 (16:24 +0200)
committerJim Meyering <meyering@redhat.com>
Sun, 31 Aug 2008 14:39:38 +0000 (16:39 +0200)
* lib/putenv.c: Remove duplicate #include <stdlib.h>.
* lib/chdir-long.c [TEST_CHDIR]: Remove duplicate #include <stdio.h>.

ChangeLog
lib/chdir-long.c
lib/putenv.c

index 55fe08e..99ab461 100644 (file)
--- 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'.
index aeae252..291b58c 100644 (file)
@@ -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"
 
index d0573c6..cc14b93 100644 (file)
@@ -31,7 +31,6 @@
 # define __set_errno(ev) ((errno) = (ev))
 #endif
 
-#include <stdlib.h>
 #include <string.h>
 #include <unistd.h>