glibc/conform/data
Joseph Myers 612fe43275 Declare gethostname for XPG4 (bug 20054).
unistd.h declares gethostname for __USE_UNIX98 || __USE_XOPEN2K.  But
it's also in XPG4 (XNS volume - C438 - not the main definitions of
system interfaces and headers in C435).  This patch corrects the
condition.

Tested for x86_64 and x86 (testsuite, and that installed stripped
shared libraries are unchanged by the patch).

	[BZ #20054]
	* posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
	not [__USE_UNIX98].
	* conform/data/unistd.h-data (gethostname): Do not expect for
	[XPG3].
2016-05-12 16:50:43 +00:00
..
arpa
net
netinet
sys conformtest: Correct some sys/stat.h expectations for XPG3. 2016-05-10 17:48:23 +00:00
aio.h-data
assert.h-data
complex.h-data
cpio.h-data
ctype.h-data
dirent.h-data
dlfcn.h-data
errno.h-data
fcntl.h-data conformtest: Do not expect S_IF* in fcntl.h. 2016-05-12 16:46:55 +00:00
fenv.h-data
float.h-data
fmtmsg.h-data
fnmatch.h-data
ftw.h-data
glob.h-data
grp.h-data
iconv.h-data
inttypes.h-data
iso646.h-data
langinfo.h-data conformtest: Add langinfo.h expectations for YESSTR, NOSTR. 2016-04-28 17:19:53 +00:00
libgen.h-data
limits.h-data
locale.h-data
math.h-data
monetary.h-data
mqueue.h-data
ndbm.h-data
netdb.h-data
nl_types.h-data
poll.h-data
pthread.h-data
pwd.h-data
regex.h-data
sched.h-data
search.h-data
semaphore.h-data
setjmp.h-data
signal.h-data conformtest: Correct some signal.h expectations for XOPEN2K. 2016-04-27 14:03:14 +00:00
spawn.h-data
stdalign.h-data
stdarg.h-data
stdbool.h-data
stddef.h-data
stdint.h-data
stdio.h-data conformtest: Correct stdio.h expectations for fdopen. 2016-04-27 21:28:58 +00:00
stdlib.h-data
stdnoreturn.h-data
string.h-data
strings.h-data
stropts.h-data
syslog.h-data
tar.h-data
termios.h-data Declare tcgetsid for XPG4 (bug 20055). 2016-05-11 18:05:37 +00:00
tgmath.h-data
time.h-data
uchar.h-data
ucontext.h-data
ulimit.h-data
unistd.h-data Declare gethostname for XPG4 (bug 20054). 2016-05-12 16:50:43 +00:00
utime.h-data
utmpx.h-data
varargs.h-data
wchar.h-data
wctype.h-data
wordexp.h-data