diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-01-16 15:32:52 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-01-16 15:32:52 +0100 |
commit | 08d4b62e1aa42cfcf4fe7930cf60d99b0f94b938 (patch) | |
tree | 4d3e69398aec81c3040625b32a6f71a31952f1e7 /include | |
parent | 354656b9d9723aa17a324ef16fc95922f38a60cd (diff) | |
download | gnumach-08d4b62e1aa42cfcf4fe7930cf60d99b0f94b938.tar.gz gnumach-08d4b62e1aa42cfcf4fe7930cf60d99b0f94b938.tar.bz2 gnumach-08d4b62e1aa42cfcf4fe7930cf60d99b0f94b938.zip |
mach_debug_types: Add const_dev_name_t
This will avoid forcing the caller to respect the definite string size.
Diffstat (limited to 'include')
-rw-r--r-- | include/mach_debug/mach_debug_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mach_debug/mach_debug_types.h b/include/mach_debug/mach_debug_types.h index 9c7d1fde..c8db227c 100644 --- a/include/mach_debug/mach_debug_types.h +++ b/include/mach_debug/mach_debug_types.h @@ -47,5 +47,6 @@ typedef char symtab_name_t[32]; */ #define KERNEL_DEBUG_NAME_MAX (64) typedef char kernel_debug_name_t[KERNEL_DEBUG_NAME_MAX]; +typedef const char *const_kernel_debug_name_t; #endif /* _MACH_DEBUG_MACH_DEBUG_TYPES_H_ */ |