merge from gcc
[deliverable/binutils-gdb.git] / libiberty / getpwd.c
index e57ef47e947d67fa46eda615d2ff356e2d75a48c..c7880d70444494763b89d429b3b3bd34d91f2978 100644 (file)
@@ -39,10 +39,6 @@ extern int errno;
 #include <limits.h>
 #endif
 
-/* Prototype these in case the system headers don't provide them. */
-extern char *getpwd ();
-extern char *getwd ();
-
 #include "libiberty.h"
 
 /* Virtually every UN*X system now in common use (except for pre-4.3-tahoe
@@ -50,6 +46,8 @@ extern char *getwd ();
    the few exceptions to the general rule here.  */
 
 #if !defined(HAVE_GETCWD) && defined(HAVE_GETWD)
+/* Prototype in case the system headers doesn't provide it. */
+extern char *getwd ();
 #define getcwd(buf,len) getwd(buf)
 #endif
 
This page took 0.033617 seconds and 4 git commands to generate.