diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-01-19 23:30:40 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-01-19 23:30:40 +0100 |
commit | c7a84af651ae5cf2588c4a057564f9c2189846ef (patch) | |
tree | 65e1e0349703b3c8ab88748107d054584e71a470 /include/mach/message.h | |
parent | 569df850cd7badd1e36132ad3b44aa76a4d27c25 (diff) | |
download | gnumach-c7a84af651ae5cf2588c4a057564f9c2189846ef.tar.gz gnumach-c7a84af651ae5cf2588c4a057564f9c2189846ef.tar.bz2 gnumach-c7a84af651ae5cf2588c4a057564f9c2189846ef.zip |
Rename msg_is_misaligned and msg_align
message.h is installed so we need to hide these behind a mach_ prefix
Diffstat (limited to 'include/mach/message.h')
-rw-r--r-- | include/mach/message.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mach/message.h b/include/mach/message.h index 16788fef..21c551c2 100644 --- a/include/mach/message.h +++ b/include/mach/message.h @@ -326,8 +326,8 @@ typedef integer_t mach_msg_option_t; */ #define MACH_MSG_ALIGNMENT 4 -#define msg_is_misaligned(x) ( ((vm_offset_t)(x)) & (MACH_MSG_ALIGNMENT-1) ) -#define msg_align(x) \ +#define mach_msg_is_misaligned(x) ( ((vm_offset_t)(x)) & (MACH_MSG_ALIGNMENT-1) ) +#define mach_msg_align(x) \ ( ( ((vm_offset_t)(x)) + (MACH_MSG_ALIGNMENT-1) ) & ~(MACH_MSG_ALIGNMENT-1) ) /* |