aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZyX <kp-pav@ya.ru>2014-05-18 00:57:46 +0400
committerThiago de Arruda <tpadilha84@gmail.com>2014-06-02 11:04:18 -0300
commit7dd0d9d2ab401034516bd3bd344a71d819a88ef0 (patch)
treec109898aea5301f7068f2409ef5b7c2c33f66cf1 /src
parent8c0ca573e5cc6811d14b6789732926719c5a2585 (diff)
downloadrneovim-7dd0d9d2ab401034516bd3bd344a71d819a88ef0.tar.gz
rneovim-7dd0d9d2ab401034516bd3bd344a71d819a88ef0.tar.bz2
rneovim-7dd0d9d2ab401034516bd3bd344a71d819a88ef0.zip
Make nvim/lib/k*.h headers be the last one in the list
So that they do the last nvim/func_attr.h include
Diffstat (limited to 'src')
-rw-r--r--src/nvim/os/channel.c2
-rw-r--r--src/nvim/os/event.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/nvim/os/channel.c b/src/nvim/os/channel.c
index 9a692cf9fe..d393025ba5 100644
--- a/src/nvim/os/channel.c
+++ b/src/nvim/os/channel.c
@@ -17,6 +17,8 @@
#include "nvim/map.h"
#include "nvim/lib/kvec.h"
+#include "nvim/lib/klist.h"
+
typedef struct {
uint64_t id;
PMap(cstr_t) *subscribed_events;
diff --git a/src/nvim/os/event.c b/src/nvim/os/event.c
index dd2b9ba0d1..cdf40541d5 100644
--- a/src/nvim/os/event.c
+++ b/src/nvim/os/event.c
@@ -4,7 +4,6 @@
#include <uv.h>
-#include "nvim/lib/klist.h"
#include "nvim/os/event.h"
#include "nvim/os/input.h"
#include "nvim/os/channel.h"
@@ -16,6 +15,8 @@
#include "nvim/memory.h"
#include "nvim/misc2.h"
+#include "nvim/lib/klist.h"
+
// event will be cleaned up after it gets processed
#define _destroy_event(x) // do nothing
KLIST_INIT(Event, Event, _destroy_event)