From 08d4b62e1aa42cfcf4fe7930cf60d99b0f94b938 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 16 Jan 2022 15:32:52 +0100 Subject: mach_debug_types: Add const_dev_name_t This will avoid forcing the caller to respect the definite string size. --- include/mach_debug/mach_debug_types.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/mach_debug/mach_debug_types.h') 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_ */ -- cgit v1.2.3