remove legacy macro PRINTF_RETVAL_BROKEN

This commit is contained in:
anon 2024-11-10 13:08:26 +01:00
parent 9646ef6752
commit fa32df6aa9
2 changed files with 0 additions and 6 deletions

View File

@ -516,9 +516,6 @@ void putheader(char *dir) {
if(trun_syms == true) { dboffset += fprintf(newrefs, " -T"); }
dboffset += fprintf(newrefs, " %.10ld\n", traileroffset);
#ifdef PRINTF_RETVAL_BROKEN
dboffset = ftell(newrefs);
#endif
}
/* put the name list into the cross-reference file */

View File

@ -224,9 +224,6 @@ void putcrossref(void) {
/* output the source line */
lineoffset = dboffset;
dboffset += fprintf(newrefs, "%d ", lineno);
#ifdef PRINTF_RETVAL_BROKEN
dboffset = ftell(newrefs); /* fprintf doesn't return chars written */
#endif
/* HBB 20010425: added this line: */
my_yytext[my_yyleng] = '\0';