diff options
Diffstat (limited to 'mg_vtable.h')
-rw-r--r-- | mg_vtable.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mg_vtable.h b/mg_vtable.h index 316c555c5b..f391713761 100644 --- a/mg_vtable.h +++ b/mg_vtable.h @@ -91,7 +91,7 @@ enum { /* pass one of these to get_vtbl */ }; #ifdef DOINIT -EXTCONST char *PL_magic_vtable_names[magic_vtable_max] = { +EXTCONST char * const PL_magic_vtable_names[magic_vtable_max] = { "arylen", "arylen_p", "backref", @@ -123,7 +123,7 @@ EXTCONST char *PL_magic_vtable_names[magic_vtable_max] = { "vec" }; #else -EXTCONST char *PL_magic_vtable_names[magic_vtable_max]; +EXTCONST char * const PL_magic_vtable_names[magic_vtable_max]; #endif /* These all need to be 0, not NULL, as NULL can be (void*)0, which is a |