diff options
author | "Vladimir N. Oleynik" <dzo@simtreas.ru> | 2005-10-15 10:23:55 +0000 |
---|---|---|
committer | "Vladimir N. Oleynik" <dzo@simtreas.ru> | 2005-10-15 10:23:55 +0000 |
commit | 6f347ef9dc540aaea025c0575e586817cd85cc8e (patch) | |
tree | 5fc98f67e92bb2eca75d33940a4f8698bb216f3a /editors | |
parent | 84e7511607600c2c7b9e7c4087897d44cc4668c4 (diff) | |
download | busybox-w32-6f347ef9dc540aaea025c0575e586817cd85cc8e.tar.gz busybox-w32-6f347ef9dc540aaea025c0575e586817cd85cc8e.tar.bz2 busybox-w32-6f347ef9dc540aaea025c0575e586817cd85cc8e.zip |
common BUFSIZ BSS buffer, small reduce code, data and bss
Diffstat (limited to 'editors')
-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 1cc127036..e6c87560d 100644 --- a/editors/vi.c +++ b/editors/vi.c | |||
@@ -2226,7 +2226,8 @@ static int mysleep(int hund) // sleep for 'h' 1/100 seconds | |||
2226 | return (FD_ISSET(0, &rfds)); | 2226 | return (FD_ISSET(0, &rfds)); |
2227 | } | 2227 | } |
2228 | 2228 | ||
2229 | static Byte readbuffer[BUFSIZ]; | 2229 | #define readbuffer bb_common_bufsiz1 |
2230 | |||
2230 | static int readed_for_parse; | 2231 | static int readed_for_parse; |
2231 | 2232 | ||
2232 | //----- IO Routines -------------------------------------------- | 2233 | //----- IO Routines -------------------------------------------- |