diff options
author | DJ Delorie <dj@delorie.com> | 2005-05-16 18:02:47 +0000 |
---|---|---|
committer | DJ Delorie <dj@delorie.com> | 2005-05-16 18:02:47 +0000 |
commit | ca7e214b8bbac94ae7cf712290275400647e8c98 (patch) | |
tree | 6d68fd39344cbe479d6feb25835b86c01dac4536 /libiberty/getpwd.c | |
parent | 85910023eae7f048964ff9166a915f3f34af85da (diff) | |
download | gdb-ca7e214b8bbac94ae7cf712290275400647e8c98.tar.gz |
merge from gcc
Diffstat (limited to 'libiberty/getpwd.c')
-rw-r--r-- | libiberty/getpwd.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libiberty/getpwd.c b/libiberty/getpwd.c index e57ef47e947..c7880d70444 100644 --- a/libiberty/getpwd.c +++ b/libiberty/getpwd.c @@ -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 |