diff options
author | vodz <vodz@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-10-15 10:23:55 +0000 |
---|---|---|
committer | vodz <vodz@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-10-15 10:23:55 +0000 |
commit | 247a3694036baa952f6dee076b04b7a58ca7df59 (patch) | |
tree | 5fc98f67e92bb2eca75d33940a4f8698bb216f3a /editors | |
parent | 1b47ba10db00a05de229d503090f5f36a1de552b (diff) | |
download | busybox-w32-247a3694036baa952f6dee076b04b7a58ca7df59.tar.gz busybox-w32-247a3694036baa952f6dee076b04b7a58ca7df59.tar.bz2 busybox-w32-247a3694036baa952f6dee076b04b7a58ca7df59.zip |
common BUFSIZ BSS buffer, small reduce code, data and bss
git-svn-id: svn://busybox.net/trunk/busybox@11867 69ca8d6d-28ef-0310-b511-8ec308f3f277
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 -------------------------------------------- |