added errno definition

This commit is contained in:
Todd C. Miller
1994-06-07 21:40:22 +00:00
parent dce1317987
commit 9e85433e9a
4 changed files with 28 additions and 4 deletions

View File

@@ -66,6 +66,12 @@ extern int lstat();
#endif /* _PATH_PWD */
/*
* Since we can't count on this being defined...
*/
extern int errno;
/******************************************************************
*
* getcwd()

View File

@@ -66,6 +66,12 @@ extern int lstat();
#endif /* _PATH_PWD */
/*
* Since we can't count on this being defined...
*/
extern int errno;
/******************************************************************
*
* getcwd()

View File

@@ -69,12 +69,18 @@ extern int lstat();
* Prototypes
*/
#ifdef HAVE_FCHDIR
static char * realpath_ret(char *, FILE *);
static char * realpath_ret __P((char *, FILE *));
#else
static char * realpath_ret(char *, char *);
static char * realpath_ret __P((char *, char *));
#endif /* HAVE_FCHDIR */
/*
* Since we can't count on this being defined...
*/
extern int errno;
/******************************************************************
*
* realpath()

View File

@@ -69,12 +69,18 @@ extern int lstat();
* Prototypes
*/
#ifdef HAVE_FCHDIR
static char * realpath_ret(char *, FILE *);
static char * realpath_ret __P((char *, FILE *));
#else
static char * realpath_ret(char *, char *);
static char * realpath_ret __P((char *, char *));
#endif /* HAVE_FCHDIR */
/*
* Since we can't count on this being defined...
*/
extern int errno;
/******************************************************************
*
* realpath()