diff options
author | Flavio Cruz <flaviocruz@gmail.com> | 2023-05-04 00:08:12 -0400 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-05-05 02:24:38 +0200 |
commit | 4571fb8fe64644c79d91a8f76c148a05b7088ea8 (patch) | |
tree | 64aba6c13a443bdbe62f8f1f3ea0ef57b93335d4 /scripts/sort-makefile-lines.py | |
parent | 3f433cb895dee51dee57cb487bc33b1425fa7ef6 (diff) | |
download | glibc-4571fb8fe64644c79d91a8f76c148a05b7088ea8.zip glibc-4571fb8fe64644c79d91a8f76c148a05b7088ea8.tar.gz glibc-4571fb8fe64644c79d91a8f76c148a05b7088ea8.tar.bz2 |
Update hurd/intr-msg.c to be more portable
Summary of the changes:
- Introduce BAD_TYPECHECK from MiG to make it simpler to do type
checking.
- Replace int type with mach_msg_type_t. This assumes that
mach_msg_type_t is always the same size as int which is not true for
x86_64.
- Calculate the size and align using PTR_ALIGN_UP, which is a bit
cleaner and similar to what we do elsewhere.
- Define mach_msg_type_t to check using designated initializers.
Message-Id: <ZFMvrIkvoCSxqB/C@jupiter.tail36e24.ts.net>
Diffstat (limited to 'scripts/sort-makefile-lines.py')
0 files changed, 0 insertions, 0 deletions