Commit 066d147c by Manfred Hollstein

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
parent 182ed311
...@@ -2977,10 +2977,17 @@ start_objects (method_type, initp) ...@@ -2977,10 +2977,17 @@ start_objects (method_type, initp)
if (flag_init_priority) if (flag_init_priority)
{ {
char joiner;
#ifdef JOINER
joiner = JOINER;
#else
joiner = '_';
#endif
if (initp == 0) if (initp == 0)
initp = DEFAULT_INIT_PRIORITY; initp = DEFAULT_INIT_PRIORITY;
sprintf (type, "%c%c%.5u", method_type, JOINER, initp); sprintf (type, "%c%c%.5u", method_type, joiner, initp);
} }
else else
sprintf (type, "%c", method_type); sprintf (type, "%c", method_type);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment