[libj6] Take out explicit type IDs from object_types.inc

This caused errors when there were gaps, so don't allow explicit IDs,
and just number types in order.
This commit is contained in:
Justin C. Miller
2023-03-16 19:47:29 -07:00
parent 936b12a977
commit 373121c455
4 changed files with 11 additions and 11 deletions

View File

@@ -16,7 +16,7 @@ static_assert(types_count <= (1 << kobject::koid_type_bits),
"kobject::koid_type_bits cannot represent all kobject types");
static const char *type_names[] = {
#define OBJECT_TYPE( name, val ) #name ,
#define OBJECT_TYPE( name ) #name ,
#include <j6/tables/object_types.inc>
#undef OBJECT_TYPE
nullptr