refactor: reduce some globals #27406

This commit is contained in:
Justin M. Keyes
2024-02-10 05:00:17 -08:00
committed by GitHub
parent 607606e3bb
commit e15dfb5f79
2 changed files with 15 additions and 18 deletions

View File

@@ -978,9 +978,7 @@ EXTERN const char bot_top_msg[] INIT(= N_("search hit BOTTOM, continuing at TOP"
EXTERN const char line_msg[] INIT(= N_(" line "));
EXTERN FILE *time_fd INIT(= NULL); // where to write startup timing
#define STARTUP_TIME_BUF_SIZE 8192
EXTERN char *startuptime_buf INIT(= NULL); // --startuptime buffer
EXTERN FILE *time_fd INIT(= NULL); // Where to write --startuptime report.
// Some compilers warn for not using a return value, but in some situations we
// can't do anything useful with the value. Assign to this variable to avoid