added errno definition
This commit is contained in:
6
getcwd.c
6
getcwd.c
@@ -66,6 +66,12 @@ extern int lstat();
|
||||
#endif /* _PATH_PWD */
|
||||
|
||||
|
||||
/*
|
||||
* Since we can't count on this being defined...
|
||||
*/
|
||||
extern int errno;
|
||||
|
||||
|
||||
/******************************************************************
|
||||
*
|
||||
* getcwd()
|
||||
|
6
getwd.c
6
getwd.c
@@ -66,6 +66,12 @@ extern int lstat();
|
||||
#endif /* _PATH_PWD */
|
||||
|
||||
|
||||
/*
|
||||
* Since we can't count on this being defined...
|
||||
*/
|
||||
extern int errno;
|
||||
|
||||
|
||||
/******************************************************************
|
||||
*
|
||||
* getcwd()
|
||||
|
10
realpath.c
10
realpath.c
@@ -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()
|
||||
|
@@ -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()
|
||||
|
Reference in New Issue
Block a user