In previous patch, make w_q static

This commit is contained in:
Paul Eggert 2024-09-17 08:31:11 -07:00
parent 0525681eb5
commit f6f2c6f31a

View File

@ -2348,7 +2348,7 @@ do_ed_script (char *input_name, struct outfile *output, FILE *ofp)
}
if (!tmpfp)
return;
char const w_q[] = { 'w', '\n', 'q', '\n' };
static char const w_q[] = { 'w', '\n', 'q', '\n' };
Fwrite (w_q, 1, sizeof w_q, tmpfp);
Fflush (tmpfp);