summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2022-01-16 16:39:51 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-01-16 16:39:51 +0100
commit3470df6774e8c22a824a104dc41ecc405c40e0f2 (patch)
tree91b134a966e6e637252e0c7f7bc3424904f9beec
parent08d4b62e1aa42cfcf4fe7930cf60d99b0f94b938 (diff)
Add yet more const string types
-rw-r--r--include/mach/default_pager_types.h1
-rw-r--r--include/mach_debug/mach_debug_types.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/mach/default_pager_types.h b/include/mach/default_pager_types.h
index f5ce5a4f..2cf7da25 100644
--- a/include/mach/default_pager_types.h
+++ b/include/mach/default_pager_types.h
@@ -54,5 +54,6 @@ typedef struct default_pager_page {
typedef default_pager_page_t *default_pager_page_array_t;
typedef char default_pager_filename_t[256];
+typedef const char *const_default_pager_filename_t;
#endif /* _MACH_DEFAULT_PAGER_TYPES_H_ */
diff --git a/include/mach_debug/mach_debug_types.h b/include/mach_debug/mach_debug_types.h
index c8db227c..2a204065 100644
--- a/include/mach_debug/mach_debug_types.h
+++ b/include/mach_debug/mach_debug_types.h
@@ -36,6 +36,7 @@
#include <mach_debug/hash_info.h>
typedef char symtab_name_t[32];
+typedef const char *symtab_name_t;
/*
* A fixed-length string data type intended for names given to