summaryrefslogtreecommitdiff
path: root/conform
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-01-28 00:00:08 +0000
committerUlrich Drepper <drepper@redhat.com>2001-01-28 00:00:08 +0000
commit8be918b7bb2abe46fab6c5f6e8ce3bac4da143ad (patch)
treee52c60e7b4424de720d2c54aee98494f2583d293 /conform
parent09a2231b580ea777c6bb72f6815491ae035faeea (diff)
downloadglibc-8be918b7bb2abe46fab6c5f6e8ce3bac4da143ad.tar.gz
Update.
* conform/data/sys/time.h-data: Allow sys/select.h. * conform/data/sys/un.h-data: Fix typo. * time/sys/time.h: Don't include all of <time.h>, just struct timeval. * sysdeps/posix/clock_getres.c: Include <time.h> instead of <sys/time.h>. * sysdeps/unix/clock_nanosleep.c: Likewise. * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise. * sysdeps/unix/i386/i586/clock_getres.c: Likewise. * sysdeps/unix/clock_gettime.c: Also include <time.h>. * sysdeps/unix/clock_settime.c: Likewise. * sysdeps/generic/pselect.c: Include <stddef.h> for NULL. * login/getutent.c: Likewise. * login/getutid.c: Likewise. * login/getutline.c: Likewise. * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
Diffstat (limited to 'conform')
-rw-r--r--conform/data/sys/time.h-data4
-rw-r--r--conform/data/sys/un.h-data2
2 files changed, 5 insertions, 1 deletions
diff --git a/conform/data/sys/time.h-data b/conform/data/sys/time.h-data
index 0de8c278fc..174708b53d 100644
--- a/conform/data/sys/time.h-data
+++ b/conform/data/sys/time.h-data
@@ -1,3 +1,4 @@
+#ifndef ISO
type {struct timeval}
element {struct timeval} time_t tv_sec
@@ -37,3 +38,6 @@ allow tv_*
allow FD_*
allow ITIMER_*
allow *_t
+
+allow-header sys/select.h
+#endif
diff --git a/conform/data/sys/un.h-data b/conform/data/sys/un.h-data
index e8e18fbd8f..bb976f2b0b 100644
--- a/conform/data/sys/un.h-data
+++ b/conform/data/sys/un.h-data
@@ -2,7 +2,7 @@
type {struct sockaddr_un}
element {struct sockaddr_un} sa_family_t sun_family
-element {struct sockaddr_un} char sun_path [0]
+element {struct sockaddr_un} char sun_path []
type sa_family_t
#endif