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:
parent
182ed311af
commit
066d147cbf
1 changed files with 8 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue