diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2015-01-14 21:19:26 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2015-01-14 21:19:26 +0000 |
commit | 89b6034299281fb00a156312952454fd8c369264 (patch) | |
tree | 272b9f04f0a28bc0b372da5a6469cd9001d2a85a | |
parent | 4fab65dc6b5affe598bcb24af5df51df07fa83a2 (diff) | |
download | cygnal-89b6034299281fb00a156312952454fd8c369264.tar.gz cygnal-89b6034299281fb00a156312952454fd8c369264.tar.bz2 cygnal-89b6034299281fb00a156312952454fd8c369264.zip |
2015-01-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* libc/include/sys/unistd.h [__BSD_VISIBLE]: Add issetugid() prototype.
-rw-r--r-- | newlib/ChangeLog | 4 | ||||
-rw-r--r-- | newlib/libc/include/sys/unistd.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 4930593d2..ac87504b4 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,5 +1,9 @@ 2015-01-14 Joel Sherrill <joel.sherrill@oarcorp.com> + * libc/include/sys/unistd.h [__BSD_VISIBLE]: Add issetugid() prototype. + +2015-01-14 Joel Sherrill <joel.sherrill@oarcorp.com> + * doc/makedoc.c: Use uintptr_t to avoid int/pointer size warnings 2015-01-14 Stefan Wallentowitz <stefan.wallentowitz@tum.de> 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 |