added errno definition
This commit is contained in:
6
getcwd.c
6
getcwd.c
@@ -66,6 +66,12 @@ extern int lstat();
|
|||||||
#endif /* _PATH_PWD */
|
#endif /* _PATH_PWD */
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Since we can't count on this being defined...
|
||||||
|
*/
|
||||||
|
extern int errno;
|
||||||
|
|
||||||
|
|
||||||
/******************************************************************
|
/******************************************************************
|
||||||
*
|
*
|
||||||
* getcwd()
|
* getcwd()
|
||||||
|
6
getwd.c
6
getwd.c
@@ -66,6 +66,12 @@ extern int lstat();
|
|||||||
#endif /* _PATH_PWD */
|
#endif /* _PATH_PWD */
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Since we can't count on this being defined...
|
||||||
|
*/
|
||||||
|
extern int errno;
|
||||||
|
|
||||||
|
|
||||||
/******************************************************************
|
/******************************************************************
|
||||||
*
|
*
|
||||||
* getcwd()
|
* getcwd()
|
||||||
|
10
realpath.c
10
realpath.c
@@ -69,12 +69,18 @@ extern int lstat();
|
|||||||
* Prototypes
|
* Prototypes
|
||||||
*/
|
*/
|
||||||
#ifdef HAVE_FCHDIR
|
#ifdef HAVE_FCHDIR
|
||||||
static char * realpath_ret(char *, FILE *);
|
static char * realpath_ret __P((char *, FILE *));
|
||||||
#else
|
#else
|
||||||
static char * realpath_ret(char *, char *);
|
static char * realpath_ret __P((char *, char *));
|
||||||
#endif /* HAVE_FCHDIR */
|
#endif /* HAVE_FCHDIR */
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Since we can't count on this being defined...
|
||||||
|
*/
|
||||||
|
extern int errno;
|
||||||
|
|
||||||
|
|
||||||
/******************************************************************
|
/******************************************************************
|
||||||
*
|
*
|
||||||
* realpath()
|
* realpath()
|
||||||
|
@@ -69,12 +69,18 @@ extern int lstat();
|
|||||||
* Prototypes
|
* Prototypes
|
||||||
*/
|
*/
|
||||||
#ifdef HAVE_FCHDIR
|
#ifdef HAVE_FCHDIR
|
||||||
static char * realpath_ret(char *, FILE *);
|
static char * realpath_ret __P((char *, FILE *));
|
||||||
#else
|
#else
|
||||||
static char * realpath_ret(char *, char *);
|
static char * realpath_ret __P((char *, char *));
|
||||||
#endif /* HAVE_FCHDIR */
|
#endif /* HAVE_FCHDIR */
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Since we can't count on this being defined...
|
||||||
|
*/
|
||||||
|
extern int errno;
|
||||||
|
|
||||||
|
|
||||||
/******************************************************************
|
/******************************************************************
|
||||||
*
|
*
|
||||||
* realpath()
|
* realpath()
|
||||||
|
Reference in New Issue
Block a user