Modified objects initialization to support re-entry.
This commit is contained in:
@@ -318,13 +318,6 @@ const char *ARGV0;
|
||||
/* support for lint.h */
|
||||
unsigned nhUse_dummy = 0;
|
||||
|
||||
/* dummy routine used to force linkage */
|
||||
void
|
||||
decl_init()
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
#define IVMAGIC 0xdeadbeef
|
||||
|
||||
const struct instance_globals g_init = {
|
||||
@@ -420,7 +413,7 @@ const struct instance_globals g_init = {
|
||||
struct instance_globals g;
|
||||
|
||||
void
|
||||
instance_globals_init()
|
||||
decl_globals_init()
|
||||
{
|
||||
g = g_init;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user