bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

config.h inclusion leftovers


From: Ralf Wildenhues
Subject: config.h inclusion leftovers
Date: Wed, 22 Feb 2006 21:28:46 +0100
User-agent: Mutt/1.5.9i

The following patch changes the last files over to the agreed-to style
for inclusion of `config.h'.

Cheers,
Ralf

        * lib/mkdtemp.c, lib/setenv.c, lib/unsetenv.c: Normalize
        inclusion of `config.h'.

Index: lib/mkdtemp.c
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/mkdtemp.c,v
retrieving revision 1.4
diff -u -r1.4 mkdtemp.c
--- lib/mkdtemp.c       14 May 2005 06:03:58 -0000      1.4
+++ lib/mkdtemp.c       22 Feb 2006 19:05:48 -0000
@@ -18,7 +18,7 @@
 /* Extracted from misc/mkdtemp.c and sysdeps/posix/tempname.c.  */
 
 #ifdef HAVE_CONFIG_H
-# include "config.h"
+# include <config.h>
 #endif
 
 /* Specification.  */
Index: lib/setenv.c
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/setenv.c,v
retrieving revision 1.13
diff -u -r1.13 setenv.c
--- lib/setenv.c        14 May 2005 06:03:58 -0000      1.13
+++ lib/setenv.c        22 Feb 2006 19:05:48 -0000
@@ -15,7 +15,7 @@
    with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 #include <alloca.h>
Index: lib/unsetenv.c
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/unsetenv.c,v
retrieving revision 1.5
diff -u -r1.5 unsetenv.c
--- lib/unsetenv.c      14 May 2005 06:03:58 -0000      1.5
+++ lib/unsetenv.c      22 Feb 2006 19:05:48 -0000
@@ -15,7 +15,7 @@
    with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]