* libc/include/sys/unistd.h: Declare getsid, setegid, seteuid for RTEMS.

This commit is contained in:
Corinna Vinschen 2010-10-08 15:28:49 +00:00
parent 98b2b9cf57
commit 339814ba6f
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2010-10-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* libc/include/sys/unistd.h: Declare getsid, setegid, seteuid for RTEMS.
2010-10-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* libm/common/sf_llrint.c, libm/common/sf_round.c: Add explicit casts

View File

@ -94,7 +94,7 @@ pid_t _EXFUN(getpgid, (pid_t));
pid_t _EXFUN(getpgrp, (void ));
pid_t _EXFUN(getpid, (void ));
pid_t _EXFUN(getppid, (void ));
#ifdef __CYGWIN__
#if defined(__CYGWIN__) || defined(__rtems__)
pid_t _EXFUN(getsid, (pid_t));
#endif
#if !defined(__INSIDE_CYGWIN__)
@ -146,7 +146,7 @@ int _EXFUN(ruserok, (const char *rhost, int superuser, const char *ruser, const
#endif
void * _EXFUN(sbrk, (ptrdiff_t __incr));
#if !defined(__INSIDE_CYGWIN__)
#if defined(__CYGWIN__)
#if defined(__CYGWIN__) || defined(__rtems__)
int _EXFUN(setegid, (gid_t __gid ));
int _EXFUN(seteuid, (uid_t __uid ));
#endif