From cae8fa8120c70195f34a2456f18c4c848a2d3e0c Mon Sep 17 00:00:00 2001 From: obrien Date: Sat, 16 Oct 1999 06:09:09 +0000 Subject: Virgin import of the GCC 2.95.1 compilers --- contrib/gcc/getpwd.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'contrib/gcc/getpwd.c') diff --git a/contrib/gcc/getpwd.c b/contrib/gcc/getpwd.c index 947383e..c3d155e 100644 --- a/contrib/gcc/getpwd.c +++ b/contrib/gcc/getpwd.c @@ -2,7 +2,6 @@ #include "config.h" #include "system.h" -#include /* Virtually every UN*X system now in common use (except for pre-4.3-tahoe BSD systems) now provides getcwd as called for by POSIX. Allow for @@ -20,9 +19,7 @@ #define GUESSPATHLEN 100 #endif /* (defined (USG) || defined (VMS)) */ -char *xmalloc (); - -#if !(defined (VMS) || (defined(_WIN32) && !defined(__CYGWIN32__))) +#if !(defined (VMS) || (defined(_WIN32) && !defined(__CYGWIN__))) /* Get the working directory. Use the PWD environment variable if it's set correctly, since this is faster and gives more uniform answers @@ -70,7 +67,7 @@ getpwd () return p; } -#else /* VMS || _WIN32 && !__CYGWIN32__ */ +#else /* VMS || _WIN32 && !__CYGWIN__ */ #ifndef MAXPATHLEN #define MAXPATHLEN 255 @@ -90,4 +87,4 @@ getpwd () return pwd; } -#endif /* VMS || _WIN32 && !__CYGWIN32__ */ +#endif /* VMS || _WIN32 && !__CYGWIN__ */ -- cgit v1.1