From 6f347ef9dc540aaea025c0575e586817cd85cc8e Mon Sep 17 00:00:00 2001 From: "Vladimir N. Oleynik" Date: Sat, 15 Oct 2005 10:23:55 +0000 Subject: common BUFSIZ BSS buffer, small reduce code, data and bss --- editors/vi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'editors/vi.c') diff --git a/editors/vi.c b/editors/vi.c index 1cc1270..e6c8756 100644 --- a/editors/vi.c +++ b/editors/vi.c @@ -2226,7 +2226,8 @@ static int mysleep(int hund) // sleep for 'h' 1/100 seconds return (FD_ISSET(0, &rfds)); } -static Byte readbuffer[BUFSIZ]; +#define readbuffer bb_common_bufsiz1 + static int readed_for_parse; //----- IO Routines -------------------------------------------- -- cgit v1.1