aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/signal.h
diff options
context:
space:
mode:
authorDavid Xu <davidxu@FreeBSD.org>2007-11-28 02:11:17 +0000
committerDavid Xu <davidxu@FreeBSD.org>2007-11-28 02:11:17 +0000
commit2f294b2a61ceb9f6b9b92509c42bc8f39778de72 (patch)
tree09182a60b15283c778c7f385d34eb848880a2042 /sys/sys/signal.h
parent7e42e29b9bc7f17818e9b9a1bf956f23120d3584 (diff)
downloadsrc-2f294b2a61ceb9f6b9b92509c42bc8f39778de72.tar.gz
src-2f294b2a61ceb9f6b9b92509c42bc8f39778de72.zip
Restore member fields sigval_int and sigval_ptr, this unbreaks compilation
of some old programs. Since sigval is union type, this change will not have binary compatibility problem. MFC: after 3 days Discussed with: rwatson, glebius
Notes
Notes: svn path=/head/; revision=174003
Diffstat (limited to 'sys/sys/signal.h')
-rw-r--r--sys/sys/signal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sys/signal.h b/sys/sys/signal.h
index bdda7a3ade94..fd4384d00ce4 100644
--- a/sys/sys/signal.h
+++ b/sys/sys/signal.h
@@ -153,6 +153,9 @@ union sigval {
/* Members as suggested by Annex C of POSIX 1003.1b. */
int sival_int;
void *sival_ptr;
+ /* 6.0 compatibility */
+ int sigval_int;
+ void *sigval_ptr;
};
#endif