X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/8f6c56a50524aa785f7e596d52dddfb331e18961..593a1d5fd87cdf5b46dd5fcb84467b432cea0f91:/bsd/sys/domain.h diff --git a/bsd/sys/domain.h b/bsd/sys/domain.h index eea934b6f..9d4fd75b5 100644 --- a/bsd/sys/domain.h +++ b/bsd/sys/domain.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000-2005 Apple Computer, Inc. All rights reserved. + * Copyright (c) 2000-2006 Apple Computer, Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * @@ -84,13 +84,11 @@ struct mbuf; #define DOM_REENTRANT 0x01 -#if __DARWIN_ALIGN_POWER -#pragma options align=power -#endif +#pragma pack(4) struct domain { int dom_family; /* AF_xxx */ - char *dom_name; + const char *dom_name; void (*dom_init)(void); /* initialize domain data structures */ int (*dom_externalize)(struct mbuf *); /* externalize access rights */ @@ -113,9 +111,7 @@ struct domain { u_long reserved[2]; }; -#if __DARWIN_ALIGN_POWER -#pragma options align=reset -#endif +#pragma pack() #ifdef KERNEL extern struct domain *domains;