mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-29 21:38:05 +00:00
readlink() is now declared as returning ssize~_t
This commit is contained in:
parent
565adde5b4
commit
c367fa7029
@ -63,7 +63,7 @@ extern char *malloc __P((size_t));
|
|||||||
extern char *getenv __P((const char *));
|
extern char *getenv __P((const char *));
|
||||||
extern char *strcpy __P((char *, const char *));
|
extern char *strcpy __P((char *, const char *));
|
||||||
extern int fprintf __P((FILE *, const char *, ...));
|
extern int fprintf __P((FILE *, const char *, ...));
|
||||||
extern int readlink __P((const char *, char *, size_t));
|
extern ssize_t readlink __P((const char *, char *, size_t));
|
||||||
extern int stat __P((const char *, struct stat *));
|
extern int stat __P((const char *, struct stat *));
|
||||||
extern int lstat __P((const char *, struct stat *));
|
extern int lstat __P((const char *, struct stat *));
|
||||||
#ifdef HAVE_STRDUP
|
#ifdef HAVE_STRDUP
|
||||||
|
@ -55,7 +55,7 @@ static char rcsid[] = "$Id$";
|
|||||||
|
|
||||||
#ifndef STDC_HEADERS
|
#ifndef STDC_HEADERS
|
||||||
extern char *strcpy __P((char *, const char *));
|
extern char *strcpy __P((char *, const char *));
|
||||||
extern int readlink __P((const char *, char *, size_t));
|
extern ssize_t readlink __P((const char *, char *, size_t));
|
||||||
extern int lstat __P((const char *, struct stat *));
|
extern int lstat __P((const char *, struct stat *));
|
||||||
#endif /* !STDC_HEADERS */
|
#endif /* !STDC_HEADERS */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user