* libc/include/sys/unistd.h (sethostname): Declare if
requested.
This commit is contained in:
		| @@ -1,3 +1,8 @@ | |||||||
|  | 2014-10-27  Sebastian Huber  <sebastian.huber@embedded-brains.de> | ||||||
|  |  | ||||||
|  | 	* libc/include/sys/unistd.h (sethostname): Declare if | ||||||
|  | 	requested. | ||||||
|  |  | ||||||
| 2014-10-20  Freddie Chopin  <freddie_chopin@op.pl> | 2014-10-20  Freddie Chopin  <freddie_chopin@op.pl> | ||||||
|  |  | ||||||
| 	* libc/time/gmtime_r.c (gmtime_r): Remove dead code. | 	* libc/time/gmtime_r.c (gmtime_r): Remove dead code. | ||||||
|   | |||||||
| @@ -166,6 +166,9 @@ int     _EXFUN(setgid, (gid_t __gid )); | |||||||
| #if defined(__CYGWIN__) | #if defined(__CYGWIN__) | ||||||
| int	_EXFUN(setgroups, (int ngroups, const gid_t *grouplist )); | int	_EXFUN(setgroups, (int ngroups, const gid_t *grouplist )); | ||||||
| #endif | #endif | ||||||
|  | #if __BSD_VISIBLE || (defined(_XOPEN_SOURCE) && __XSI_VISIBLE < 500) | ||||||
|  | int	_EXFUN(sethostname, (const char *, size_t)); | ||||||
|  | #endif | ||||||
| int     _EXFUN(setpgid, (pid_t __pid, pid_t __pgid )); | int     _EXFUN(setpgid, (pid_t __pid, pid_t __pgid )); | ||||||
| int     _EXFUN(setpgrp, (void )); | int     _EXFUN(setpgrp, (void )); | ||||||
| #if defined(__CYGWIN__) && !defined(__INSIDE_CYGWIN__) | #if defined(__CYGWIN__) && !defined(__INSIDE_CYGWIN__) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user