libitize
authorJim Meyering <jim@meyering.net>
Mon, 4 Nov 1996 18:07:38 +0000 (18:07 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 4 Nov 1996 18:07:38 +0000 (18:07 +0000)
lib/stpcpy.c
lib/xgetcwd.c

index e7a95a4656a8da2380fffe7d0794a3b1f0af01c0..6369661a488704043ac760ac447db9d146c317cd 100644 (file)
@@ -15,8 +15,8 @@
     along with this program; if not, write to the Free Software Foundation,
     Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
+#if HAVE_CONFIG_H
+# include <config.h>
 #endif
 
 /* Copy SRC to DEST, returning the address of the terminating '\0' in DEST.  */
index 3615161a01733a4fa515f04e49f46a8d48e9751e..7ab2204682587acdc16722c412912c88c7dbcef0 100644 (file)
@@ -17,7 +17,7 @@
 
 /* Written by David MacKenzie <djm@gnu.ai.mit.edu>.  */
 
-#ifdef HAVE_CONFIG_H
+#if HAVE_CONFIG_H
 # include <config.h>
 #endif
 
 #ifndef errno
 extern int errno;
 #endif
+
 #include <sys/types.h>
 #include "pathmax.h"
 
-#ifndef HAVE_GETCWD
-char *getwd ();
-# define getcwd(buf, max) getwd (buf)
-#else
+#if HAVE_GETCWD
 char *getcwd ();
+#else
+char *getwd ();
+# define getcwd(Buf, Max) getwd (Buf)
 #endif
 
 /* Amount to increase buffer size by in each try. */