about summary refs log tree commit diff
path: root/conform
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-01-27 06:30:48 +0000
committerUlrich Drepper <drepper@redhat.com>2001-01-27 06:30:48 +0000
commit5a9339d5bb8bdffa8f91099430ec518ec98027de (patch)
treec4b913599ac1738b2b3874ef02fcad093fef1190 /conform
parentda23829807c8e5f4c5a179a3fa693250f9d7f6c1 (diff)
downloadglibc-5a9339d5bb8bdffa8f91099430ec518ec98027de.tar.gz
glibc-5a9339d5bb8bdffa8f91099430ec518ec98027de.tar.xz
glibc-5a9339d5bb8bdffa8f91099430ec518ec98027de.zip
Update.
	* conform/conformtest.pl: Define $mustprepend{"signal.h"}.
	* conform/data/signal.h-data: Fix sigev_notify_function entry.
	Fix typo (SIGVALRM -> SIGVTALRM).
	* sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
	with real type.
	* sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
	* sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
Diffstat (limited to 'conform')
-rw-r--r--conform/conformtest.pl1
-rw-r--r--conform/data/signal.h-data4
2 files changed, 3 insertions, 2 deletions
diff --git a/conform/conformtest.pl b/conform/conformtest.pl
index a121554d07..1357bb33d5 100644
--- a/conform/conformtest.pl
+++ b/conform/conformtest.pl
@@ -55,6 +55,7 @@ $CFLAGS{"XOPEN2K"} = "-I. '-D__attribute__(x)=' -D_XOPEN_SOURCE=600";
 # Some headers need a bit more attention.
 $mustprepend{'regex.h'} = "#include <sys/types.h>\n";
 $mustprepend{'sched.h'} = "#include <sys/types.h>\n";
+$mustprepend{'signal.h'} = "#include <pthread.h>\n";
 $mustprepend{'wordexp.h'} = "#include <stddef.h>\n";
 
 # Make a hash table from this information.
diff --git a/conform/data/signal.h-data b/conform/data/signal.h-data
index 4fcbf9a5a5..22e07fb257 100644
--- a/conform/data/signal.h-data
+++ b/conform/data/signal.h-data
@@ -16,7 +16,7 @@ type {struct sigevent}
 element {struct sigevent} int sigev_notify
 element {struct sigevent} int sigev_signo
 element {struct sigevent} {union sigval} sigev_value
-element {struct sigevent} {void(*)(union sigval)} sigev_notify_function
+element {struct sigevent} {void(*} sigev_notify_function )(union sigval)
 element {struct sigevent} {pthread_attr_t*} sigev_notify_attributes
 
 constant SIGEV_NONE
@@ -54,7 +54,7 @@ constant SIGPROF
 constant SIGSYS
 constant SIGTRAP
 constant SIGURG
-constant SIGVALRM
+constant SIGVTALRM
 constant SIGXCPU
 constant SIGXFSZ