diff options
author | "Vladimir N. Oleynik" | 2005-10-15 10:23:55 +0000 |
---|---|---|
committer | "Vladimir N. Oleynik" | 2005-10-15 10:23:55 +0000 |
commit | 6f347ef9dc540aaea025c0575e586817cd85cc8e (patch) | |
tree | 5fc98f67e92bb2eca75d33940a4f8698bb216f3a /editors/vi.c | |
parent | 84e7511607600c2c7b9e7c4087897d44cc4668c4 (diff) | |
download | busybox-6f347ef9dc540aaea025c0575e586817cd85cc8e.zip busybox-6f347ef9dc540aaea025c0575e586817cd85cc8e.tar.gz |
common BUFSIZ BSS buffer, small reduce code, data and bss
Diffstat (limited to 'editors/vi.c')
-rw-r--r-- | editors/vi.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 -------------------------------------------- |