diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 4930593d2..ac87504b4 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2015-01-14 Joel Sherrill + + * libc/include/sys/unistd.h [__BSD_VISIBLE]: Add issetugid() prototype. + 2015-01-14 Joel Sherrill * doc/makedoc.c: Use uintptr_t to avoid int/pointer size warnings diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h index a741383d0..eb26921cc 100644 --- a/newlib/libc/include/sys/unistd.h +++ b/newlib/libc/include/sys/unistd.h @@ -117,6 +117,9 @@ char * _EXFUN(getwd, (char *__buf )); int _EXFUN(iruserok, (unsigned long raddr, int superuser, const char *ruser, const char *luser)); #endif int _EXFUN(isatty, (int __fildes )); +#if __BSD_VISIBLE +int _EXFUN(issetugid, (void)); +#endif #if !defined(__INSIDE_CYGWIN__) int _EXFUN(lchown, (const char *__path, uid_t __owner, gid_t __group )); #endif