aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/event/wstream.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2021-09-14 18:13:34 +0200
committerGitHub <noreply@github.com>2021-09-14 09:13:34 -0700
commit0a83017fe95df0290adb98ec6bf457b96a3fab17 (patch)
tree41362f11095eff22795474e035c5d91d3fb4a7d8 /src/nvim/event/wstream.c
parent516775e9d84c5eda9c1d014ff052132737361d90 (diff)
downloadrneovim-0a83017fe95df0290adb98ec6bf457b96a3fab17.tar.gz
rneovim-0a83017fe95df0290adb98ec6bf457b96a3fab17.tar.bz2
rneovim-0a83017fe95df0290adb98ec6bf457b96a3fab17.zip
refactor: format files with uncrustify #15663
Diffstat (limited to 'src/nvim/event/wstream.c')
-rw-r--r--src/nvim/event/wstream.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/nvim/event/wstream.c b/src/nvim/event/wstream.c
index 2baa667e7d..d81ffa5c15 100644
--- a/src/nvim/event/wstream.c
+++ b/src/nvim/event/wstream.c
@@ -2,17 +2,16 @@
// it. PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
#include <assert.h>
-#include <stdint.h>
#include <stdbool.h>
+#include <stdint.h>
#include <stdlib.h>
-
#include <uv.h>
-#include "nvim/log.h"
#include "nvim/event/loop.h"
#include "nvim/event/wstream.h"
-#include "nvim/vim.h"
+#include "nvim/log.h"
#include "nvim/memory.h"
+#include "nvim/vim.h"
#define DEFAULT_MAXMEM 1024 * 1024 * 2000
@@ -117,10 +116,7 @@ err:
/// @param cb Pointer to function that will be responsible for freeing
/// the buffer data(passing 'free' will work as expected).
/// @return The allocated WBuffer instance
-WBuffer *wstream_new_buffer(char *data,
- size_t size,
- size_t refcount,
- wbuffer_data_finalizer cb)
+WBuffer *wstream_new_buffer(char *data, size_t size, size_t refcount, wbuffer_data_finalizer cb)
FUNC_ATTR_NONNULL_ARG(1)
{
WBuffer *rv = xmalloc(sizeof(WBuffer));