aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/signal.h
diff options
context:
space:
mode:
authorDavid Xu <davidxu@FreeBSD.org>2005-11-04 09:41:00 +0000
committerDavid Xu <davidxu@FreeBSD.org>2005-11-04 09:41:00 +0000
commit8f0371f19d85ab269c94258d30b87aef416d529d (patch)
tree71fac15496379ce07a2aa8da1c428250c9de46a5 /sys/sys/signal.h
parent6383e2266c40617a52cc08fe71671d5c9bbc720a (diff)
downloadsrc-8f0371f19d85ab269c94258d30b87aef416d529d.tar.gz
src-8f0371f19d85ab269c94258d30b87aef416d529d.zip
Fix name compatible problem with POSIX standard. the sigval_ptr and
sigval_int really should be sival_ptr and sival_int. Also sigev_notify_function accepts a union sigval value but not a pointer.
Notes
Notes: svn path=/head/; revision=152029
Diffstat (limited to 'sys/sys/signal.h')
-rw-r--r--sys/sys/signal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/signal.h b/sys/sys/signal.h
index 55da8b45a14d..8e4daa64f5dc 100644
--- a/sys/sys/signal.h
+++ b/sys/sys/signal.h
@@ -150,8 +150,8 @@ typedef __sigset_t sigset_t;
#if __POSIX_VISIBLE >= 199309 || __XSI_VISIBLE >= 500
union sigval {
/* Members as suggested by Annex C of POSIX 1003.1b. */
- int sigval_int;
- void *sigval_ptr;
+ int sival_int;
+ void *sival_ptr;
};
#endif
@@ -163,7 +163,7 @@ struct sigevent {
union {
__lwpid_t _threadid;
struct {
- void (*_function)(union sigval *);
+ void (*_function)(union sigval);
void *_attribute; /* pthread_attr_t * */
} _sigev_thread;
} _sigev_un;