decl2.c (start_objects): Add new variable `joiner' and initialize it properly.

8
	* decl2.c (start_objects): Add new variable `joiner' and
	initialize it properly.

From-SVN: r22975
This commit is contained in:
Manfred Hollstein 1998-10-10 09:24:06 +00:00
parent 182ed311af
commit 066d147cbf

View file

@ -2977,10 +2977,17 @@ start_objects (method_type, initp)
if (flag_init_priority)
{
char joiner;
#ifdef JOINER
joiner = JOINER;
#else
joiner = '_';
#endif
if (initp == 0)
initp = DEFAULT_INIT_PRIORITY;
sprintf (type, "%c%c%.5u", method_type, JOINER, initp);
sprintf (type, "%c%c%.5u", method_type, joiner, initp);
}
else
sprintf (type, "%c", method_type);