summaryrefslogtreecommitdiff
path: root/include/mach_debug/mach_debug_types.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2022-01-16 15:32:52 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-01-16 15:32:52 +0100
commit08d4b62e1aa42cfcf4fe7930cf60d99b0f94b938 (patch)
tree4d3e69398aec81c3040625b32a6f71a31952f1e7 /include/mach_debug/mach_debug_types.h
parent354656b9d9723aa17a324ef16fc95922f38a60cd (diff)
mach_debug_types: Add const_dev_name_t
This will avoid forcing the caller to respect the definite string size.
Diffstat (limited to 'include/mach_debug/mach_debug_types.h')
-rw-r--r--include/mach_debug/mach_debug_types.h1
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_ */