diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2021-09-26 02:16:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-25 17:16:04 -0700 |
commit | 2f9b9e61d7417183f2d9f36d804247c0926be9d4 (patch) | |
tree | d8cef2aec47839d3e1c243fe64613dcc3394c900 /src/nvim/os/shell.c | |
parent | 05d685be5244ec9f0a8bc042154d0da3449ba2f3 (diff) | |
download | rneovim-2f9b9e61d7417183f2d9f36d804247c0926be9d4.tar.gz rneovim-2f9b9e61d7417183f2d9f36d804247c0926be9d4.tar.bz2 rneovim-2f9b9e61d7417183f2d9f36d804247c0926be9d4.zip |
refactor: format with uncrustify #15778
* fixup: force exactly one whitespace between type and variable
Diffstat (limited to 'src/nvim/os/shell.c')
-rw-r--r-- | src/nvim/os/shell.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/nvim/os/shell.c b/src/nvim/os/shell.c index f0d446b4c5..2bff65b241 100644 --- a/src/nvim/os/shell.c +++ b/src/nvim/os/shell.c @@ -873,10 +873,10 @@ static void system_data_cb(Stream *stream, RBuffer *buf, size_t count, void *dat /// Returns the previous decision if size=0. static bool out_data_decide_throttle(size_t size) { - static uint64_t started = 0; // Start time of the current throttle. - static size_t received = 0; // Bytes observed since last throttle. - static size_t visit = 0; // "Pulse" count of the current throttle. - static char pulse_msg[] = { ' ', ' ', ' ', '\0' }; + static uint64_t started = 0; // Start time of the current throttle. + static size_t received = 0; // Bytes observed since last throttle. + static size_t visit = 0; // "Pulse" count of the current throttle. + static char pulse_msg[] = { ' ', ' ', ' ', '\0' }; if (!size) { bool previous_decision = (visit > 0); @@ -933,8 +933,8 @@ static bool out_data_decide_throttle(size_t size) static void out_data_ring(char *output, size_t size) { #define MAX_CHUNK_SIZE (OUT_DATA_THRESHOLD / 2) - static char last_skipped[MAX_CHUNK_SIZE]; // Saved output. - static size_t last_skipped_len = 0; + static char last_skipped[MAX_CHUNK_SIZE]; // Saved output. + static size_t last_skipped_len = 0; assert(output != NULL || (size == 0 || size == SIZE_MAX)); |