* newlib/libc/include/sys/unistd.h: add declaration for gethostid on Cygwin.

This commit is contained in:
Christopher Faylor 2003-04-15 20:13:49 +00:00
parent ded6339b7e
commit cfd2c7bea8
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-04-15 Chris January <chris@atomice.net>
* newlib/libc/include/sys/unistd.h: add declaration for gethostid on
Cygwin.
2003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
* libc/machine/sh/memset.S: Avoid clobbering volatile

View File

@ -60,6 +60,9 @@ uid_t _EXFUN(geteuid, (void ));
gid_t _EXFUN(getgid, (void ));
#endif
int _EXFUN(getgroups, (int __gidsetsize, gid_t __grouplist[] ));
#if defined(__CYGWIN__)
long _EXFUN(gethostid, (void));
#endif
char _EXFUN(*getlogin, (void ));
#if defined(_POSIX_THREAD_SAFE_FUNCTIONS)
int _EXFUN(getlogin_r, (char *name, size_t namesize) );