diff --git a/template/limits.c.tmpl b/template/limits.c.tmpl index 6b7610a030..de35354829 100644 --- a/template/limits.c.tmpl +++ b/template/limits.c.tmpl @@ -93,4 +93,5 @@ Init_limits(void) #undef DEFINE #undef MIN2NUM #undef MAX2NUM + OBJ_FREEZE(h); } diff --git a/template/sizes.c.tmpl b/template/sizes.c.tmpl index 75c1ff22c9..0fc8fe8218 100644 --- a/template/sizes.c.tmpl +++ b/template/sizes.c.tmpl @@ -47,7 +47,8 @@ Init_sizeof(void) DEFINE(<%= type %>, <%= type.tr_cpp %>); #endif % end + OBJ_FREEZE(s); #undef DEFINE - Init_limits(); + Init_limits(); }