Author: jhb Date: Wed Jan 21 18:38:12 2009 New Revision: 187555 URL: http://svn.freebsd.org/changeset/base/187555
Log: MFC: Use ints and a pointer to represent the spare fields used by the old sigevent structure rather than using a char array with explicit knowledge about padding. Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props changed) stable/7/sys/dev/cxgb/ (props changed) stable/7/sys/sys/aio.h Modified: stable/7/sys/sys/aio.h ============================================================================== --- stable/7/sys/sys/aio.h Wed Jan 21 18:35:48 2009 (r187554) +++ stable/7/sys/sys/aio.h Wed Jan 21 18:38:12 2009 (r187555) @@ -69,7 +69,8 @@ typedef struct aiocb { off_t aio_offset; /* File offset for I/O */ volatile void *aio_buf; /* I/O buffer in process space */ size_t aio_nbytes; /* Number of bytes for I/O */ - char __spare__[sizeof(int) * 2 + sizeof(void *)]; /* osigevent. */ + int __spare__[2]; + void *__spare2__; int aio_lio_opcode; /* LIO opcode */ int aio_reqprio; /* Request priority -- ignored */ struct __aiocb_private _aiocb_private; _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"